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