llvm.org GIT mirror llvm / 341fa09
Add a hackaround for PR7993 which is causing failures on x86 builders that lack sse2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112175 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
3 changed file(s) with 11 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
13131313 break;
13141314 case TargetLowering::Expand:
13151315 if (!TLI.isLoadExtLegal(ISD::EXTLOAD, SrcVT)) {
1316 // FIXME: If SrcVT isn't legal, then this introduces an illegal
1317 // type.
13161318 SDValue Load = DAG.getLoad(SrcVT, dl, Tmp1, Tmp2, LD->getSrcValue(),
13171319 LD->getSrcValueOffset(),
13181320 LD->isVolatile(), LD->isNonTemporal(),
1111 %c = trunc <8 x i32> %a to <8 x i16> ; <<8 x i16>> [#uses=1]
1212 ret <8 x i16> %c
1313 }
14
15 ; PR7993
16 ;define <4 x i32> @test3(<4 x i16> %a) nounwind {
17 ; %c = sext <4 x i16> %a to <4 x i32> ; <<4 x i32>> [#uses=1]
18 ; ret <4 x i32> %c
19 ;}
None ; RUN: llc < %s -march=x86-64
1 ; RUN: llc < %s -march=x86-64 -disable-mmx
0 ; RUN: llc < %s -march=x86-64 -mcpu=core2
1 ; RUN: llc < %s -march=x86-64 -mcpu=core2 -disable-mmx
2
23
34 define <8 x i32> @a(<8 x i16> %a) nounwind {
45 %c = sext <8 x i16> %a to <8 x i32>