4995baa3e5a0222837d2d105e9d5b39eb5d2b81b
[oota-llvm.git] / test / CodeGen / X86 / fast-isel-args-fail.ll
1 ; RUN: llc < %s -fast-isel -verify-machineinstrs -mtriple=x86_64-apple-darwin10
2 ; Requires: Asserts
3
4 ; Previously, this would cause an assert.
5 define i31 @t1(i31 %a, i31 %b, i31 %c) {
6 entry:
7   %add = add nsw i31 %b, %a
8   %add1 = add nsw i31 %add, %c
9   ret i31 %add1
10 }