Changes in directory llvm/lib/Target/IA64:

IA64ISelLowering.cpp updated: 1.32 -> 1.33
---
Log message:

Fix some of the stuff in the PPC README file, and clean up legalization
of the SELECT_CC, BR_CC, and BRTWOWAY_CC nodes.


---
Diffs of the changes:  (+4 -0)

 IA64ISelLowering.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.32 
llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.33
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.32      Sun Jan 29 00:26:07 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp   Wed Feb  1 01:19:44 2006
@@ -35,10 +35,14 @@
       // register class for predicate registers
       addRegisterClass(MVT::i1, IA64::PRRegisterClass);
 
+      setOperationAction(ISD::BR_CC            , MVT::Other, Expand);
       setOperationAction(ISD::BRCONDTWOWAY     , MVT::Other, Expand);
       setOperationAction(ISD::BRTWOWAY_CC      , MVT::Other, Expand);
       setOperationAction(ISD::FP_ROUND_INREG   , MVT::f32  , Expand);
 
+      // ia64 uses SELECT not SELECT_CC
+      setOperationAction(ISD::SELECT_CC        , MVT::Other,  Expand);
+      
       // We need to handle ISD::RET for void functions ourselves,
       // so we get a chance to restore ar.pfs before adding a
       // br.ret insn



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

Reply via email to