[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Evan Cheng
evan.cheng at apple.com
Tue Dec 5 14:03:55 PST 2006
Changes in directory llvm/lib/Target/X86:
X86ISelDAGToDAG.cpp updated: 1.135 -> 1.136
---
Log message:
Revert an unintended change.
---
Diffs of the changes: (+1 -1)
X86ISelDAGToDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff -u llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.135 llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.136
--- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.135 Tue Dec 5 13:50:18 2006
+++ llvm/lib/Target/X86/X86ISelDAGToDAG.cpp Tue Dec 5 16:03:40 2006
@@ -907,7 +907,7 @@
if (AM.GV || AM.CP || AM.ES || AM.JT != -1) {
// For X86-64, we should always use lea to materialize RIP relative
// addresses.
- if (Subtarget->is64Bit() && TM.getRelocationModel() != Reloc::Static)
+ if (Subtarget->is64Bit())
Complexity = 4;
else
Complexity += 2;
More information about the llvm-commits
mailing list