1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=i686-- | FileCheck %s
3
4define i32 @test1(i32 %x) {
5; CHECK-LABEL: test1:
6; CHECK:       # %bb.0:
7; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax
8; CHECK-NEXT:    xorl $-32, %eax
9; CHECK-NEXT:    addl $33, %eax
10; CHECK-NEXT:    retl
11  %xor = xor i32 %x, 31
12  %sub = sub i32 32, %xor
13  ret i32 %sub
14}
15