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:
4517850
)
Give Dan and my recent changes, machine LICM is now code size neutral.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 9 Oct 2009 06:31:25 +0000
(06:31 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 9 Oct 2009 06:31:25 +0000
(06:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83624
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineLICM.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineLICM.cpp
b/lib/CodeGen/MachineLICM.cpp
index e60139cb9236d23f0b483f058ce33111fbdc94b4..5e2d39e1abeb2ad6a5052b8ee1cbc9ce2ad8fd65 100644
(file)
--- a/
lib/CodeGen/MachineLICM.cpp
+++ b/
lib/CodeGen/MachineLICM.cpp
@@
-131,10
+131,6
@@
static bool LoopIsOuterMostWithPreheader(MachineLoop *CurLoop) {
/// loop.
///
bool MachineLICM::runOnMachineFunction(MachineFunction &MF) {
- const Function *F = MF.getFunction();
- if (F->hasFnAttr(Attribute::OptimizeForSize))
- return false;
-
DEBUG(errs() << "******** Machine LICM ********\n");
Changed = false;