diff --git a/test/Transforms/InstCombine/sub.ll b/test/Transforms/InstCombine/sub.ll index 4c7047636e0..3b3a995c43d 100644 --- a/test/Transforms/InstCombine/sub.ll +++ b/test/Transforms/InstCombine/sub.ll @@ -868,11 +868,12 @@ define i32 @test52(i32 %X) { } define <2 x i1> @test53(<2 x i1> %A, <2 x i1> %B) { +; CHECK-LABEL: @test53( +; CHECK-NEXT: [[SUB:%.*]] = xor <2 x i1> [[A:%.*]], [[B:%.*]] +; CHECK-NEXT: ret <2 x i1> [[SUB]] +; %sub = sub <2 x i1> %A, %B ret <2 x i1> %sub -; CHECK-LABEL: @test53( -; CHECK-NEXT: %sub = xor <2 x i1> %A, %B -; CHECK-NEXT: ret <2 x i1> %sub } define i32 @test54(i1 %C) {