From f840bc561af70d76120f0b267d074bdc6136a3c9 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 17 Jul 2009 05:23:03 +0000 Subject: [PATCH] Set an operation expansion, noticed while running llc over test/CodeGen/Generic with -march=alpha. llvm-svn: 76154 --- llvm/lib/Target/Alpha/AlphaISelLowering.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/Alpha/AlphaISelLowering.cpp b/llvm/lib/Target/Alpha/AlphaISelLowering.cpp index 9097a8a9de7b..92bfa915baea 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);