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:
0b3c079
)
Unbreak build.
author
Daniel Dunbar
<daniel@zuster.org>
Sat, 27 Sep 2008 00:22:09 +0000
(
00:22
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sat, 27 Sep 2008 00:22:09 +0000
(
00:22
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56727
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelDAGToDAG.cpp
b/lib/Target/X86/X86ISelDAGToDAG.cpp
index b5c0c35d12e22308192bbb5823fd81d89f4a3f78..6cc044c7e8518a1928af41d0f2b0ac8efb6badc0 100644
(file)
--- a/
lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-658,7
+658,8
@@
void X86DAGToDAGISel::InstructionSelect() {
CurBB = BB; // BB can change as result of isel.
if (!OptForSize) {
const Function *F = CurDAG->getMachineFunction().getFunction();
- OptForSize = !F->isDeclaration() && F->hasNote(Attribute::OptimizeForSize);
+ OptForSize = !F->isDeclaration() &&
+ F->hasFnAttr(Attribute::OptimizeForSize);
}
DEBUG(BB->dump());