[llvm-commits] CVS: llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 17 12:24:00 PDT 2002


Changes in directory llvm/lib/CodeGen/InstrSelection:

InstrSelectionSupport.cpp updated: 1.31 -> 1.32

---
Log message:

Add support for GCC 2.96


---
Diffs of the changes:

Index: llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp
diff -u llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp:1.31 llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp:1.32
--- llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp:1.31	Mon Sep 16 10:15:57 2002
+++ llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp	Tue Sep 17 12:23:09 2002
@@ -472,8 +472,8 @@
             {
               constantThatMustBeLoaded = true;
               opValue = isSigned
-                ? ConstantSInt::get(Type::LongTy, immedValue)
-                : ConstantUInt::get(Type::ULongTy, (uint64_t) immedValue);
+                ? (Value*)ConstantSInt::get(Type::LongTy, immedValue)
+                : (Value*)ConstantUInt::get(Type::ULongTy,(uint64_t)immedValue);
             }
         }
 





More information about the llvm-commits mailing list