summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-07-17 05:23:03 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-07-17 05:23:03 +0000
commitf840bc561af70d76120f0b267d074bdc6136a3c9 (patch)
tree469642f3d67b487320e50eb05f212b8e5c273516 /llvm/lib/Target
parent97f3f965ebf73663bf1d2aea4317b5aa28ef9b7a (diff)
downloadbcm5719-llvm-f840bc561af70d76120f0b267d074bdc6136a3c9.tar.gz
bcm5719-llvm-f840bc561af70d76120f0b267d074bdc6136a3c9.zip
Set an operation expansion, noticed while running
llc over test/CodeGen/Generic with -march=alpha. llvm-svn: 76154
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/Alpha/AlphaISelLowering.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
index 9097a8a9de7..92bfa915bae 100644
--- a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
+++ b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp
@@ -64,6 +64,8 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
setLoadExtAction(ISD::SEXTLOAD, MVT::i8, Expand);
setLoadExtAction(ISD::SEXTLOAD, MVT::i16, Expand);
+ setTruncStoreAction(MVT::f64, MVT::f32, Expand);
+
// setOperationAction(ISD::BRIND, MVT::Other, Expand);
setOperationAction(ISD::BR_JT, MVT::Other, Expand);
setOperationAction(ISD::BR_CC, MVT::Other, Expand);
OpenPOWER on IntegriCloud