mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
27b1252c13
This changes the tests that were targeting ARM EABI to explicitly specify the environment rather than relying on the default. This breaks with the new Windows on ARM support when running the tests on Windows where the default environment is no longer EABI. Take the opportunity to avoid a pointless redirect (helps when trying to debug with providing a command line invocation which can be copy and pasted) and removing a few greps in favour of FileCheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205541 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
607 B
LLVM
19 lines
607 B
LLVM
; RUN: llc -O1 -mtriple=arm-eabi -mcpu=cortex-a9 %s -o - \
|
|
; RUN: | FileCheck -check-prefix=A9-CHECK %s
|
|
|
|
; RUN: llc -O1 -mtriple=arm-eabi -mcpu=swift %s -o - \
|
|
; RUN: | FileCheck -check-prefix=SWIFT-CHECK %s
|
|
|
|
; Check that swift doesn't use vmov.32. <rdar://problem/10453003>.
|
|
|
|
define <2 x i32> @testuvec(<2 x i32> %A, <2 x i32> %B) nounwind {
|
|
entry:
|
|
%div = udiv <2 x i32> %A, %B
|
|
ret <2 x i32> %div
|
|
; A9-CHECK: vmov.32
|
|
; vmov.32 should not be used to get a lane:
|
|
; vmov.32 <dst>, <src>[<lane>].
|
|
; but vmov.32 <dst>[<lane>], <src> is fine.
|
|
; SWIFT-CHECK-NOT: vmov.32 {{r[0-9]+}}, {{d[0-9]\[[0-9]+\]}}
|
|
}
|