mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
17753cd3bc
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. llvm-svn: 205465
16 lines
449 B
LLVM
16 lines
449 B
LLVM
; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
|
|
|
|
define i32 @foo() {
|
|
entry:
|
|
%A = alloca [1123 x i32], align 16 ; <[1123 x i32]*> [#uses=1]
|
|
%B = alloca [3123 x i32], align 16 ; <[3123 x i32]*> [#uses=1]
|
|
%C = alloca [12312 x i32], align 16 ; <[12312 x i32]*> [#uses=1]
|
|
%tmp = call i32 (...)* @bar( [3123 x i32]* %B, [1123 x i32]* %A, [12312 x i32]* %C ) ; <i32> [#uses=0]
|
|
ret i32 undef
|
|
}
|
|
|
|
declare i32 @bar(...)
|
|
|
|
; CHECK-NOT: add{{.*}}#0
|
|
|