aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCISelLowering.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-10-30 08:02:39 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-10-30 08:02:39 +0000
commitc35497fc2a8b984dbacede5b75b7be74c6756948 (patch)
tree570dddd79fe9d7459a2a559325b31d7a1af32a77 /lib/Target/PowerPC/PPCISelLowering.cpp
parent3d4ce1108520a4dcf31cb01523e145d286ee64c1 (diff)
downloadexternal_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/PowerPC/PPCISelLowering.cpp')
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp
index 4285b68..df4e9ac 100644
--- a/lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/lib/Target/PowerPC/PPCISelLowering.cpp
@@ -107,6 +107,8 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
// PowerPC does not have BRCOND which requires SetCC
setOperationAction(ISD::BRCOND, MVT::Other, Expand);
+
+ setOperationAction(ISD::BR_JT, MVT::Other, Expand);
// PowerPC turns FP_TO_SINT into FCTIWZ and some load/stores.
setOperationAction(ISD::FP_TO_SINT, MVT::i32, Custom);