[llvm-commits] [llvm] r70755 - /llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sun May 3 06:15:40 PDT 2009
Author: asl
Date: Sun May 3 08:15:40 2009
New Revision: 70755
URL: http://llvm.org/viewvc/llvm-project?rev=70755&view=rev
Log:
Expand all sorts of indirect branches
Modified:
llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
Modified: llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp?rev=70755&r1=70754&r2=70755&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp Sun May 3 08:15:40 2009
@@ -72,6 +72,8 @@
setOperationAction(ISD::RET, MVT::Other, Custom);
setOperationAction(ISD::GlobalAddress, MVT::i16, Custom);
setOperationAction(ISD::ExternalSymbol, MVT::i16, Custom);
+ setOperationAction(ISD::BR_JT, MVT::Other, Expand);
+ setOperationAction(ISD::BRIND, MVT::Other, Expand);
setOperationAction(ISD::BR_CC, MVT::Other, Expand);
setOperationAction(ISD::BRCOND, MVT::Other, Custom);
setOperationAction(ISD::SETCC, MVT::i8, Custom);
More information about the llvm-commits
mailing list