From: David Majnemer Date: Sat, 20 Dec 2014 04:48:34 +0000 (+0000) Subject: This should have been part of r224676. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=6df827240edb776870fe52166186659a386c2153;hp=854a37649ae4580819b5fba86181df5ff4acc250 This should have been part of r224676. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224677 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/select.ll b/test/Transforms/InstCombine/select.ll index 44ec889e53e..765b42dfbe2 100644 --- a/test/Transforms/InstCombine/select.ll +++ b/test/Transforms/InstCombine/select.ll @@ -1073,8 +1073,8 @@ define i32 @select_icmp_and_2147483648_eq_0_xor_2147483648(i32 %x) { } ; CHECK-LABEL: @select_icmp_x_and_2147483648_ne_0_or_2147483648( -; CHECK: xor i32 %1, -2147483648 -; CHECK: or i32 %2, %x +; CHECK-NEXT: [[OR:%[a-z0-9]+]] = or i32 %x, -2147483648 +; CHECK-NEXT: ret i32 [[OR]] define i32 @select_icmp_x_and_2147483648_ne_0_or_2147483648(i32 %x) { %and = and i32 %x, 2147483648 %cmp = icmp eq i32 %and, 0