diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-07-17 05:23:03 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-07-17 05:23:03 +0000 |
commit | 07d8ebd692088f49c2ca8331ede56493d2951299 (patch) | |
tree | c499c4bbe6c48381cb6c76c35e4f6ccce4c11b33 | |
parent | e3fef569eb316d234212a49110e06bbfe96b0c5e (diff) | |
download | external_llvm-07d8ebd692088f49c2ca8331ede56493d2951299.zip external_llvm-07d8ebd692088f49c2ca8331ede56493d2951299.tar.gz external_llvm-07d8ebd692088f49c2ca8331ede56493d2951299.tar.bz2 |
Set an operation expansion, noticed while running
llc over test/CodeGen/Generic with -march=alpha.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76154 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Alpha/AlphaISelLowering.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index 9097a8a..92bfa91 100644 --- a/lib/Target/Alpha/AlphaISelLowering.cpp +++ b/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); |