[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Mon Oct 30 00:03:01 PST 2006



Changes in directory llvm/lib/Target/Sparc:

SparcISelDAGToDAG.cpp updated: 1.112 -> 1.113
---
Log message:

All targets expand BR_JT for now.

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

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


Index: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
diff -u llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.112 llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.113
--- llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.112	Fri Oct 13 16:14:26 2006
+++ llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp	Mon Oct 30 02:02:39 2006
@@ -174,7 +174,8 @@
   
   // Sparc doesn't have BRCOND either, it has BR_CC.
   setOperationAction(ISD::BRCOND, MVT::Other, Expand);
-  setOperationAction(ISD::BRIND, MVT::i32, Expand);
+  setOperationAction(ISD::BRIND, MVT::Other, Expand);
+  setOperationAction(ISD::BR_JT, MVT::Other, Expand);
   setOperationAction(ISD::BR_CC, MVT::i32, Custom);
   setOperationAction(ISD::BR_CC, MVT::f32, Custom);
   setOperationAction(ISD::BR_CC, MVT::f64, Custom);






More information about the llvm-commits mailing list