Skip to content

Commit 8fc29ae

Browse files
author
badumbatish
committed
Update unittest for pow[i] poison
1 parent d74b59f commit 8fc29ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/unittests/Analysis/ValueTrackingTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,10 +911,10 @@ TEST(ValueTracking, propagatesPoison) {
911911
{false, "call i32 @llvm.fshr.i32(i32 %x, i32 %y, i32 %shamt)", 1},
912912
{false, "call i32 @llvm.fshr.i32(i32 %x, i32 %y, i32 %shamt)", 2},
913913
{true, "call float @llvm.sqrt.f32(float %fx)", 0},
914-
{false, "call float @llvm.powi.f32.i32(float %fx, i32 %x)", 0},
914+
{true, "call float @llvm.powi.f32.i32(float %fx, i32 %x)", 0},
915915
{false, "call float @llvm.sin.f32(float %fx)", 0},
916916
{false, "call float @llvm.cos.f32(float %fx)", 0},
917-
{false, "call float @llvm.pow.f32(float %fx, float %fy)", 0},
917+
{true, "call float @llvm.pow.f32(float %fx, float %fy)", 0},
918918
{false, "call float @llvm.exp.f32(float %fx)", 0},
919919
{false, "call float @llvm.exp2.f32(float %fx)", 0},
920920
{false, "call float @llvm.log.f32(float %fx)", 0},

0 commit comments

Comments
 (0)