From: John Thompson Date: Tue, 10 Aug 2010 22:04:00 +0000 (+0000) Subject: Something's wrong with this test on other platforms. I'll probably need to simplify... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c59a44d01b0dae396da748cb2e76f2c3255899e0;p=clang Something's wrong with this test on other platforms. I'll probably need to simplify it later. For now revert. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110738 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/asm-inout.c b/test/CodeGen/asm-inout.c index b67540436c..f04276693e 100644 --- a/test/CodeGen/asm-inout.c +++ b/test/CodeGen/asm-inout.c @@ -17,26 +17,3 @@ void test2() { // CHECK: store i32 {{%[a-zA-Z0-9\.]+}}, i32* [[REGCALLRESULT]] asm ("foobar" : "+r"(*foo())); } - -// PR7338 -// CHECK: @test3 -void test3(int *vout, int vin) -{ - // CHECK: entry: - // CHECK: [[REGCALLRESULT1:%[a-zA-Z0-9\.]+]] = alloca i32*, align 4 ; [#uses=2] - // CHECK: [[REGCALLRESULT2:%[a-zA-Z0-9\.]+]] = alloca i32, align 4 ; [#uses=2] - // CHECK: store i32* [[REGCALLRESULT5:%[a-zA-Z0-9\.]+]], i32** [[REGCALLRESULT1]] - // CHECK: store i32 [[REGCALLRESULT6:%[a-zA-Z0-9\.]+]], i32* [[REGCALLRESULT2]] - // CHECK: [[REGCALLRESULT3:%[a-zA-Z0-9\.]+]] = load i32** [[REGCALLRESULT1]] ; [#uses=1] - // CHECK: [[REGCALLRESULT4:%[a-zA-Z0-9\.]+]] = load i32* [[REGCALLRESULT2]] ; [#uses=1] - // The following is disabled until mult-alt constraint support is enabled. - // call void asm "opr $0,$1", "=*rm,rm,~{di},~{dirflag},~{fpsr},~{flags}"(i32* [[REGCALLRESULT3]], i32 [[REGCALLRESULT4]]) nounwind, - // Delete the following line when mult-alt constraint support is enabled. - // CHECK: call void asm "opr $0,$1", "=*r,r,~{di},~{dirflag},~{fpsr},~{flags}"(i32* [[REGCALLRESULT3]], i32 [[REGCALLRESULT4]]) nounwind, -asm( - "opr %[vout],%[vin]" - : [vout] "=r,=m,=r" (*vout) - : [vin] "r,m,r" (vin) - : "edi" - ); -}