diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2007-11-22 03:07:37 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2007-11-22 03:07:37 +0000 |
commit | 4ac0e8da4a819b2db09659262227e8c8f7f1fcc0 (patch) | |
tree | f47768507d6ecc26e4b272ff587d40d9c5a330be /test/Analysis | |
parent | 8b0ec6440083261418b400e024f15b66d4ce44db (diff) | |
download | external_llvm-4ac0e8da4a819b2db09659262227e8c8f7f1fcc0.zip external_llvm-4ac0e8da4a819b2db09659262227e8c8f7f1fcc0.tar.gz external_llvm-4ac0e8da4a819b2db09659262227e8c8f7f1fcc0.tar.bz2 |
Create nodes for inline asm so that we don't crash looking for the node later.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis')
-rw-r--r-- | test/Analysis/Andersens/2007-11-19-InlineAsm.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Analysis/Andersens/2007-11-19-InlineAsm.ll b/test/Analysis/Andersens/2007-11-19-InlineAsm.ll new file mode 100644 index 0000000..c1ab6c7 --- /dev/null +++ b/test/Analysis/Andersens/2007-11-19-InlineAsm.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -anders-aa -disable-output + +define void @x(i16 %Y) { +entry: + %tmp = call i16 asm "bswap $0", "=r,r"(i16 %Y) + ret void +} + |