1; RUN: llc -march=x86 < %s | FileCheck %s
2
3define i32 @test1(i32 %x) {
4  %xor = xor i32 %x, 31
5  %sub = sub i32 32, %xor
6  ret i32 %sub
7; CHECK-LABEL: test1:
8; CHECK:      xorl $-32
9; CHECK-NEXT: addl $33
10; CHECK-NEXT: ret
11}
12