blob: 4995baa3e5a0222837d2d105e9d5b39eb5d2b81b [file] [log] [blame]
Chad Rosier31a9bbc2013-02-26 20:22:30 +00001; RUN: llc < %s -fast-isel -verify-machineinstrs -mtriple=x86_64-apple-darwin10
2; Requires: Asserts
3
4; Previously, this would cause an assert.
5define i31 @t1(i31 %a, i31 %b, i31 %c) {
6entry:
7 %add = add nsw i31 %b, %a
8 %add1 = add nsw i31 %add, %c
9 ret i31 %add1
10}