[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 26 18:07:01 PDT 2003


Changes in directory llvm/lib/Target/X86:

InstSelectSimple.cpp updated: 1.115 -> 1.116

---
Log message:

If the pass changes _anything_ it must return true


---
Diffs of the changes:

Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.115 llvm/lib/Target/X86/InstSelectSimple.cpp:1.116
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.115	Wed Jul 23 10:22:21 2003
+++ llvm/lib/Target/X86/InstSelectSimple.cpp	Sat Jul 26 18:05:37 2003
@@ -85,7 +85,8 @@
       RegMap.clear();
       MBBMap.clear();
       F = 0;
-      return false;  // We never modify the LLVM itself.
+      // We always build a machine code representation for the function
+      return true;
     }
 
     virtual const char *getPassName() const {





More information about the llvm-commits mailing list