From fb1f3c0c952a8c59751ea01aaba811069896b6be Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sat, 3 Jun 2017 18:50:23 +0000 Subject: [PATCH] [InstCombine] Use cttz instead of ctlz in the cttz_cmp_vec test case. Looks like a copy paste mistake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304666 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/intrinsics.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Transforms/InstCombine/intrinsics.ll b/test/Transforms/InstCombine/intrinsics.ll index 78c98955353..280098840ba 100644 --- a/test/Transforms/InstCombine/intrinsics.ll +++ b/test/Transforms/InstCombine/intrinsics.ll @@ -406,7 +406,7 @@ define <2 x i1> @cttz_cmp_vec(<2 x i32> %a) { ; CHECK-NEXT: [[CMP:%.*]] = icmp ne <2 x i32> %a, zeroinitializer ; CHECK-NEXT: ret <2 x i1> [[CMP]] ; - %x = tail call <2 x i32> @llvm.ctlz.v2i32(<2 x i32> %a, i1 false) nounwind readnone + %x = tail call <2 x i32> @llvm.cttz.v2i32(<2 x i32> %a, i1 false) nounwind readnone %cmp = icmp ne <2 x i32> %x, ret <2 x i1> %cmp } -- 2.50.1