mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-23 04:52:54 +02:00
f7935a3f63
`llc -march` is problematic because it only switches the target architecture, but leaves the operating system unchanged. This occasionally leads to indeterministic tests because the OS from LLVM_DEFAULT_TARGET_TRIPLE is used. However we can simply always use `llc -mtriple` instead. This changes all the tests to do this to avoid people using -march when they copy and paste parts of tests. See also the discussion in https://reviews.llvm.org/D35287 llvm-svn: 309774
11 lines
297 B
LLVM
11 lines
297 B
LLVM
; RUN: llc < %s -mtriple=i686-- -mattr=+sse,-sse2 | FileCheck %s
|
|
; PR2484
|
|
|
|
define <4 x float> @f4523(<4 x float> %a,<4 x float> %b) nounwind {
|
|
entry:
|
|
; CHECK: shufps $228, %xmm
|
|
%shuffle = shufflevector <4 x float> %a, <4 x float> %b, <4 x i32> <i32 4,i32
|
|
5,i32 2,i32 3>
|
|
ret <4 x float> %shuffle
|
|
}
|