Chad Rosier | 31a9bbc | 2013-02-26 20:22:30 +0000 | [diff] [blame^] | 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 | } |