llvm.org GIT mirror llvm / 278cbfb
Attempt to fix -mtriple=i686-{cygwin|mingw|win32} regressions. Nakamura, if this doesn't work, please provide more details. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140107 91177308-0d34-0410-b5e6-96231b3b80d8 Bruno Cardoso Lopes 8 years ago
5 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc < %s -march=x86 -mattr=+sse2 -stats -realign-stack=0 |&\
0 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2 -stats -realign-stack=0 |&\
11 ; RUN: grep {asm-printer} | grep 34
22
33 target datalayout = "e-p:32:32"
None ; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | not grep movl
0 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+mmx,+sse2 | not grep movl
11
22 define <8 x i8> @a(i8 zeroext %x) nounwind {
33 %r = insertelement <8 x i8> undef, i8 %x, i32 0
None ; RUN: llc < %s -march=x86 -mattr=sse41 | FileCheck %s --check-prefix=X32
0 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=sse41 | FileCheck %s --check-prefix=X32
11 ; RUN: llc < %s -mtriple=x86_64-linux -mattr=sse41 | FileCheck %s --check-prefix=X64
22 ; RUN: llc < %s -mtriple=x86_64-win32 -mattr=sse41 | FileCheck %s --check-prefix=X64
33
0 ; RUN: llc < %s -mtriple=x86_64-linux -mcpu=penryn -asm-verbose=0 -o - | FileCheck %s -check-prefix=X64
11 ; RUN: llc < %s -mtriple=x86_64-win32 -mcpu=penryn -asm-verbose=0 -o - | FileCheck %s -check-prefix=W64
2 ; RUN: llc < %s -mcpu=yonah -march=x86 -asm-verbose=0 -o - | FileCheck %s -check-prefix=X32
2 ; RUN: llc < %s -mcpu=yonah -march=x86 -mtriple=i386-linux-gnu -asm-verbose=0 -o - | FileCheck %s -check-prefix=X32
33
44 ; PR7518
55 define void @test1(<2 x float> %Q, float *%P2) nounwind {
None ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep movq
1 ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep mov | count 1
2 ; RUN: llc < %s -march=x86-64 -mattr=+sse2 | grep movd
0 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2 | grep movq
1 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+sse2 | grep mov | count 1
2 ; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-linux -mattr=+sse2 | grep movd
33
44 define <2 x i64> @t1(i64 %x) nounwind {
55 %tmp8 = insertelement <2 x i64> zeroinitializer, i64 %x, i32 0