diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-10-30 08:02:39 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-10-30 08:02:39 +0000 |
commit | c35497fc2a8b984dbacede5b75b7be74c6756948 (patch) | |
tree | 570dddd79fe9d7459a2a559325b31d7a1af32a77 /lib/Target/ARM | |
parent | 3d4ce1108520a4dcf31cb01523e145d286ee64c1 (diff) | |
download | external_llvm-c35497fc2a8b984dbacede5b75b7be74c6756948.zip external_llvm-c35497fc2a8b984dbacede5b75b7be74c6756948.tar.gz external_llvm-c35497fc2a8b984dbacede5b75b7be74c6756948.tar.bz2 |
All targets expand BR_JT for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r-- | lib/Target/ARM/ARMISelDAGToDAG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp index 7221818..3674bf1 100644 --- a/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -73,7 +73,8 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM) setOperationAction(ISD::MEMSET, MVT::Other, Expand); - setOperationAction(ISD::BRIND, MVT::i32, Expand); + setOperationAction(ISD::BR_JT, MVT::Other, Expand); + setOperationAction(ISD::BRIND, MVT::Other, Expand); setOperationAction(ISD::BR_CC, MVT::i32, Custom); setOperationAction(ISD::BR_CC, MVT::f32, Custom); setOperationAction(ISD::BR_CC, MVT::f64, Custom); |