Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 | FileCheck %s
      2 
      3 define i32 @test(i32 %X) nounwind {
      4 entry:
      5 	%0 = add i32 %X, 1
      6 	ret i32 %0
      7 }
      8 
      9 ; CHECK: test
     10 ; CHECK: inc
     11 ; CHECK: ret
     12 
     13 define i32 @test2(i32 %X) nounwind {
     14 entry:
     15 	%0 = add i32 %X, 4
     16 	ret i32 %0
     17 }
     18 
     19 ; CHECK: test2
     20 ; CHECK: {{add.*4.*$}}
     21 ; CHECK: ret
     22