X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FThumb2%2Fthumb2-call-tc.ll;h=96f63ba9ac0b616c898c1dcd09b2a9acada968b5;hb=00552e3875ee5f382db6c98286a241a7d0efe1b8;hp=24502b0338c25d9127dd54d9a1a4830853c9e7e3;hpb=7835f1fcdbb58093377c9e3476f45a2638565762;p=oota-llvm.git diff --git a/test/CodeGen/Thumb2/thumb2-call-tc.ll b/test/CodeGen/Thumb2/thumb2-call-tc.ll index 24502b0338c..96f63ba9ac0 100644 --- a/test/CodeGen/Thumb2/thumb2-call-tc.ll +++ b/test/CodeGen/Thumb2/thumb2-call-tc.ll @@ -1,36 +1,37 @@ ; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mattr=+thumb2 | FileCheck %s -check-prefix=DARWIN ; RUN: llc < %s -mtriple=thumbv7-linux -mattr=+thumb2 | FileCheck %s -check-prefix=LINUX +; XFAIL: * @t = weak global i32 ()* null ; [#uses=1] declare void @g(i32, i32, i32, i32) define void @f() { -; DARWIN: f: +; DARWIN-LABEL: f: ; DARWIN: blx _g -; LINUX: f: +; LINUX-LABEL: f: ; LINUX: bl g tail call void @g( i32 1, i32 2, i32 3, i32 4 ) ret void } define void @h() { -; DARWIN: h: +; DARWIN-LABEL: h: ; DARWIN: bx r0 @ TAILCALL -; LINUX: h: +; LINUX-LABEL: h: ; LINUX: bx r0 @ TAILCALL - %tmp = load i32 ()** @t ; [#uses=1] + %tmp = load i32 ()*, i32 ()** @t ; [#uses=1] %tmp.upgrd.2 = tail call i32 %tmp( ) ; [#uses=0] ret void } define void @j() { -; DARWIN: j: +; DARWIN-LABEL: j: ; DARWIN: b.w _f @ TAILCALL -; LINUX: j: +; LINUX-LABEL: j: ; LINUX: b.w f @ TAILCALL tail call void @f() ret void