X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FARM%2F2007-04-03-PEIBug.ll;h=87863bd3ec15d687131ca5d5601dab1b42f93ed6;hb=cdc6a8eab9d54c3b942ecc6eeabd6d4c8fff2ee7;hp=b543c57e1a85e7840edbb8fa3f4382b33a6d2c3a;hpb=fce288fc9134f0f1055caf0342c023225bd5c379;p=oota-llvm.git diff --git a/test/CodeGen/ARM/2007-04-03-PEIBug.ll b/test/CodeGen/ARM/2007-04-03-PEIBug.ll index b543c57e1a8..87863bd3ec1 100644 --- a/test/CodeGen/ARM/2007-04-03-PEIBug.ll +++ b/test/CodeGen/ARM/2007-04-03-PEIBug.ll @@ -1,12 +1,15 @@ -; RUN: llc < %s -march=arm | not grep {add.*#0} +; 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 ) ; [#uses=0] + %tmp = call i32 (...) @bar( [3123 x i32]* %B, [1123 x i32]* %A, [12312 x i32]* %C ) ; [#uses=0] ret i32 undef } declare i32 @bar(...) + +; CHECK-NOT: add{{.*}}#0 +