diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-28 17:40:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-28 17:40:10 +0000 |
commit | d77d4f98fbdeaf3d1b0ba99b547b7ac4ec43b834 (patch) | |
tree | 63244d3431af44873f3092b549813740bac0f08d /test/CodeGen/X86 | |
parent | 33d3d4ad401e77673b6723ff2bc23ddf3c873351 (diff) | |
download | external_llvm-d77d4f98fbdeaf3d1b0ba99b547b7ac4ec43b834.zip external_llvm-d77d4f98fbdeaf3d1b0ba99b547b7ac4ec43b834.tar.gz external_llvm-d77d4f98fbdeaf3d1b0ba99b547b7ac4ec43b834.tar.bz2 |
Fix PR2289: vr defined by multiple implicit_def as result of coalescing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/2008-05-28-CoalescerBug.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2008-05-28-CoalescerBug.ll b/test/CodeGen/X86/2008-05-28-CoalescerBug.ll new file mode 100644 index 0000000..68f6cce --- /dev/null +++ b/test/CodeGen/X86/2008-05-28-CoalescerBug.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | llc -mtriple=x86_64-unknown-linux-gnu +; PR2289 + +define void @_ada_ca11001() { +entry: + %tmp59 = call i16 @ca11001_0__cartesian_assign( i8 zeroext 0, i8 zeroext 0, i16 undef ) ; <i16> [#uses=0] + unreachable +} + +declare i16 @ca11001_0__cartesian_assign(i8 zeroext , i8 zeroext , i16) |