diff options
author | Craig Topper <craig.topper@gmail.com> | 2017-06-03 18:50:23 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2017-06-03 18:50:23 +0000 |
commit | fb1f3c0c952a8c59751ea01aaba811069896b6be (patch) | |
tree | c6b44c89003a4fec588fbf16a8725329e320c67d /test/Transforms/InstCombine/intrinsics.ll | |
parent | 110a2bc81842cb0fb6584fb9745328a0f24cf0bf (diff) |
[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
Diffstat (limited to 'test/Transforms/InstCombine/intrinsics.ll')
-rw-r--r-- | test/Transforms/InstCombine/intrinsics.ll | 2 |
1 files changed, 1 insertions, 1 deletions
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, <i32 32, i32 32> ret <2 x i1> %cmp } |