From: Eli Friedman Date: Fri, 17 Jul 2009 05:23:03 +0000 (+0000) Subject: Set an operation expansion, noticed while running X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=18d643abe5a853fb97f8db947c9f0005da2151b0;p=oota-llvm.git 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 --- diff --git a/lib/Target/Alpha/AlphaISelLowering.cpp b/lib/Target/Alpha/AlphaISelLowering.cpp index 9097a8a9de7..92bfa915bae 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);