[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 18 00:31:02 PST 2004
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.194 -> 1.195
---
Log message:
Fix a really nasty bug that was breaking ijpeg in LLC mode. We were incorrectly
folding load instructions into other instructions across free instruction
boundaries. Perhaps this will also fix the other strange failures?
---
Diffs of the changes: (+2 -0)
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.194 llvm/lib/Target/X86/InstSelectSimple.cpp:1.195
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.194 Fri Mar 12 18:24:52 2004
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Thu Mar 18 00:29:54 2004
@@ -1422,6 +1422,8 @@
// really use alias analysis here, but for now we just do something simple.
for (++It; It != BasicBlock::iterator(&User); ++It) {
switch (It->getOpcode()) {
+ case Instruction::Malloc:
+ case Instruction::Free:
case Instruction::Store:
case Instruction::Call:
case Instruction::Invoke:
More information about the llvm-commits
mailing list