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 | e31559576f708e329d4b91e07a42645ac23ae10d (patch) | |
| tree | b82e1eabbf11ba5256c2de413f67d209ebe8fc99 | |
| parent | 41917df6432fec89e977475bfde0bb965252ed0a (diff) | |
| download | bcm5719-llvm-e31559576f708e329d4b91e07a42645ac23ae10d.tar.gz bcm5719-llvm-e31559576f708e329d4b91e07a42645ac23ae10d.zip | |
Expand all sorts of indirect branches
llvm-svn: 70755
| -rw-r--r-- | llvm/lib/Target/MSP430/MSP430ISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp b/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp index 9777e772e4e..4ad74db725b 100644 --- a/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp +++ b/llvm/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); |

