mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 16:09:02 +00:00
6d4e5ab349
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@205465 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
322 B
LLVM
15 lines
322 B
LLVM
; RUN: llc -mtriple=arm-eabi %s -o /dev/null
|
|
; PR3954
|
|
|
|
define void @foo(...) nounwind {
|
|
entry:
|
|
%rr = alloca i32 ; <i32*> [#uses=2]
|
|
%0 = load i32* %rr ; <i32> [#uses=1]
|
|
%1 = call i32 asm "nop", "=r,0"(i32 %0) nounwind ; <i32> [#uses=1]
|
|
store i32 %1, i32* %rr
|
|
br label %return
|
|
|
|
return: ; preds = %entry
|
|
ret void
|
|
}
|