diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-02-26 20:22:30 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-02-26 20:22:30 +0000 |
commit | 31a9bbcd4a183b3062943570fd38be11dd601d41 (patch) | |
tree | 5e683ff7fa13e6acb02d5da402cbaa9f9567d19d /llvm/test/CodeGen/X86/fast-isel-args-fail.ll | |
parent | 94a2260a7f4eb20921a7b372ef2d286dd8d7d925 (diff) | |
download | bcm5719-llvm-31a9bbcd4a183b3062943570fd38be11dd601d41.tar.gz bcm5719-llvm-31a9bbcd4a183b3062943570fd38be11dd601d41.zip |
Add a test case for r176066.
llvm-svn: 176119
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-args-fail.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/fast-isel-args-fail.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-args-fail.ll b/llvm/test/CodeGen/X86/fast-isel-args-fail.ll new file mode 100644 index 00000000000..4995baa3e5a --- /dev/null +++ b/llvm/test/CodeGen/X86/fast-isel-args-fail.ll @@ -0,0 +1,10 @@ +; RUN: llc < %s -fast-isel -verify-machineinstrs -mtriple=x86_64-apple-darwin10 +; Requires: Asserts + +; Previously, this would cause an assert. +define i31 @t1(i31 %a, i31 %b, i31 %c) { +entry: + %add = add nsw i31 %b, %a + %add1 = add nsw i31 %add, %c + ret i31 %add1 +} |