[llvm] r301337 - [InstCombine] Fix CHECK-LABEL in two tests.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 25 10:40:58 PDT 2017
Author: ctopper
Date: Tue Apr 25 12:40:58 2017
New Revision: 301337
URL: http://llvm.org/viewvc/llvm-project?rev=301337&view=rev
Log:
[InstCombine] Fix CHECK-LABEL in two tests.
Modified:
llvm/trunk/test/Transforms/InstSimplify/AndOrXor.ll
Modified: llvm/trunk/test/Transforms/InstSimplify/AndOrXor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstSimplify/AndOrXor.ll?rev=301337&r1=301336&r2=301337&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstSimplify/AndOrXor.ll (original)
+++ llvm/trunk/test/Transforms/InstSimplify/AndOrXor.ll Tue Apr 25 12:40:58 2017
@@ -538,7 +538,7 @@ define i32 @test45(i32 %a, i32 %b) {
}
define i32 @test45_commuted_and(i32 %a, i32 %b) {
-; CHECK-LABEL: @test45(
+; CHECK-LABEL: @test45_commuted_and(
; CHECK-NEXT: [[NEGB:%.*]] = xor i32 [[B:%.*]], -1
; CHECK-NEXT: [[XOR:%.*]] = xor i32 [[A:%.*]], [[NEGB]]
; CHECK-NEXT: ret i32 [[XOR]]
@@ -571,7 +571,7 @@ define i32 @test46(i32 %a, i32 %b) {
; (~A & ~B) | (~A ^ B) -> ~A ^ B
define i32 @test46_commuted_and(i32 %a, i32 %b) {
-; CHECK-LABEL: @test45(
+; CHECK-LABEL: @test46_commuted_and(
; CHECK-NEXT: [[NEGB:%.*]] = xor i32 [[B:%.*]], -1
; CHECK-NEXT: [[XOR:%.*]] = xor i32 [[A:%.*]], [[NEGB]]
; CHECK-NEXT: ret i32 [[XOR]]
More information about the llvm-commits
mailing list