projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b3e94
)
Add comment for load folding
author
Joel Jones
<joel_k_jones@apple.com>
Tue, 11 Dec 2012 16:10:25 +0000
(16:10 +0000)
committer
Joel Jones
<joel_k_jones@apple.com>
Tue, 11 Dec 2012 16:10:25 +0000
(16:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169880
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PeepholeOptimizer.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PeepholeOptimizer.cpp
b/lib/CodeGen/PeepholeOptimizer.cpp
index cc07d4715088bde0782089a0139b110246bb0dcd..0900ba31342f4dda2ff1f126e78d0b6540f5d7cf 100644
(file)
--- a/
lib/CodeGen/PeepholeOptimizer.cpp
+++ b/
lib/CodeGen/PeepholeOptimizer.cpp
@@
-49,6
+49,11
@@
// v1 = bitcast v0
// = v0
//
+// - Optimize Loads:
+//
+// Loads that can be folded into a later instruction. A load is foldable
+// if it loads to virtual registers and the virtual register defined has
+// a single use.
//===----------------------------------------------------------------------===//
#define DEBUG_TYPE "peephole-opt"