diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-05-03 13:15:40 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-05-03 13:15:40 +0000 |
commit | 0dbf292f6888e04c7f53dbb485f251b7cde4541a (patch) | |
tree | f185bda1d952b85f24f74f49da930e7b9bd60b30 /lib/Target/MSP430 | |
parent | 8644af36903d933b6f9ae80d2d51b9e340c48452 (diff) | |
download | external_llvm-0dbf292f6888e04c7f53dbb485f251b7cde4541a.zip external_llvm-0dbf292f6888e04c7f53dbb485f251b7cde4541a.tar.gz external_llvm-0dbf292f6888e04c7f53dbb485f251b7cde4541a.tar.bz2 |
Expand all sorts of indirect branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430')
-rw-r--r-- | lib/Target/MSP430/MSP430ISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/MSP430/MSP430ISelLowering.cpp b/lib/Target/MSP430/MSP430ISelLowering.cpp index 9777e77..4ad74db 100644 --- a/lib/Target/MSP430/MSP430ISelLowering.cpp +++ b/lib/Target/MSP430/MSP430ISelLowering.cpp @@ -72,6 +72,8 @@ MSP430TargetLowering::MSP430TargetLowering(MSP430TargetMachine &tm) : 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); |