Changes in directory llvm/lib/Target/ARM:

ARMISelLowering.cpp updated: 1.59 -> 1.60
---
Log message:

Silence a warning.

---
Diffs of the changes:  (+2 -1)

 ARMISelLowering.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/ARM/ARMISelLowering.cpp
diff -u llvm/lib/Target/ARM/ARMISelLowering.cpp:1.59 
llvm/lib/Target/ARM/ARMISelLowering.cpp:1.60
--- llvm/lib/Target/ARM/ARMISelLowering.cpp:1.59        Fri Jun 22 09:59:07 2007
+++ llvm/lib/Target/ARM/ARMISelLowering.cpp     Tue Jun 26 13:31:22 2007
@@ -1195,7 +1195,8 @@
   Index = DAG.getNode(ISD::MUL, PTy, Index, DAG.getConstant(4, PTy));
   SDOperand Addr = DAG.getNode(ISD::ADD, PTy, Index, Table);
   bool isPIC = getTargetMachine().getRelocationModel() == Reloc::PIC_;
-  Addr = DAG.getLoad(isPIC ? MVT::i32 : PTy, Chain, Addr, NULL, 0);
+  Addr = DAG.getLoad(isPIC ? (MVT::ValueType)MVT::i32 : PTy,
+                     Chain, Addr, NULL, 0);
   Chain = Addr.getValue(1);
   if (isPIC)
     Addr = DAG.getNode(ISD::ADD, PTy, Addr, Table);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to