Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 | FileCheck %s
      2 ; PR3018
      3 
      4 define i32 @test(i32 %A) nounwind {
      5 ; CHECK-LABEL: test:
      6 ; CHECK-NOT: ret
      7 ; CHECK: orl $1
      8 ; CHECK: ret
      9   %B = or i32 %A, 1
     10   %C = or i32 %B, 1
     11   %D = and i32 %C, 7057
     12   ret i32 %D
     13 }
     14