diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-17 06:57:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-17 06:57:15 +0000 |
commit | 424545e9509318e56be88021babec26cbfab8cc8 (patch) | |
tree | 79b9a7ff63a2562ccefb849ef188138c991bfa18 /test/CodeGen/CBackend | |
parent | 437544f25c1a6f6a00a2ed245c935088dbf9963d (diff) | |
download | external_llvm-424545e9509318e56be88021babec26cbfab8cc8.zip external_llvm-424545e9509318e56be88021babec26cbfab8cc8.tar.gz external_llvm-424545e9509318e56be88021babec26cbfab8cc8.tar.bz2 |
remove asmparser support for the old getresult instruction, which has been subsumed by extractvalue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r-- | test/CodeGen/CBackend/2008-05-21-MRV-InlineAsm.ll | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/CodeGen/CBackend/2008-05-21-MRV-InlineAsm.ll b/test/CodeGen/CBackend/2008-05-21-MRV-InlineAsm.ll deleted file mode 100644 index 8db3167..0000000 --- a/test/CodeGen/CBackend/2008-05-21-MRV-InlineAsm.ll +++ /dev/null @@ -1,19 +0,0 @@ -; RUN: llc < %s -march=c - -declare {i32, i32} @foo() - -define i32 @test() { - %A = call {i32, i32} @foo() - %B = getresult {i32, i32} %A, 0 - %C = getresult {i32, i32} %A, 1 - %D = add i32 %B, %C - ret i32 %D -} - -define i32 @test2() { - %A = call {i32, i32} asm sideeffect "...", "={cx},={di},~{dirflag},~{fpsr},~{flags},~{memory}"() - %B = getresult {i32, i32} %A, 0 - %C = getresult {i32, i32} %A, 1 - %D = add i32 %B, %C - ret i32 %D -} |