diff options
author | Eric Christopher <echristo@apple.com> | 2011-06-21 00:05:20 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-06-21 00:05:20 +0000 |
commit | cfd323d0d4476dd4ff64097c91b114067ecaa82b (patch) | |
tree | 9fad5f1ee1e29ff3ce9975da7607c9a919d26188 /test/CodeGen/asm-inout.c | |
parent | 8e2ce7fdf9e8033b77788662a9c3f61334eb5daf (diff) |
Move additional register names to their own lookup, separate from
register aliases. Fixes unnecessary renames of clobbers.
Fixes part of rdar://9425559
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/asm-inout.c')
-rw-r--r-- | test/CodeGen/asm-inout.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CodeGen/asm-inout.c b/test/CodeGen/asm-inout.c index 29142f7c55..ce524fe70f 100644 --- a/test/CodeGen/asm-inout.c +++ b/test/CodeGen/asm-inout.c @@ -21,7 +21,7 @@ void test2() { // PR7338 void test3(int *vout, int vin) { - // CHECK: call void asm "opr $0,$1", "=*r|m|r,r|m|r,~{di},~{dirflag},~{fpsr},~{flags}" + // CHECK: call void asm "opr $0,$1", "=*r|m|r,r|m|r,~{edi},~{dirflag},~{fpsr},~{flags}" asm( "opr %[vout],%[vin]" : [vout] "=r,=m,=r" (*vout) @@ -37,4 +37,3 @@ int test4(volatile int *addr) { return (int)oldval; // CHECK: call i8 asm "frob $0", "=r,0{{.*}}"(i8 -1) } - |