diff options
Diffstat (limited to 'llvm/unittests/Analysis/ValueTrackingTest.cpp')
-rw-r--r-- | llvm/unittests/Analysis/ValueTrackingTest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/unittests/Analysis/ValueTrackingTest.cpp b/llvm/unittests/Analysis/ValueTrackingTest.cpp index 3c61f24..960044d 100644 --- a/llvm/unittests/Analysis/ValueTrackingTest.cpp +++ b/llvm/unittests/Analysis/ValueTrackingTest.cpp @@ -822,6 +822,12 @@ TEST(ValueTracking, propagatesPoison) { {true, "add nsw nuw i32 %x, %y"}, {true, "ashr i32 %x, %y"}, {true, "lshr exact i32 %x, 31"}, + {true, "fadd float %fx, %fy"}, + {true, "fsub float %fx, %fy"}, + {true, "fmul float %fx, %fy"}, + {true, "fdiv float %fx, %fy"}, + {true, "frem float %fx, %fy"}, + {true, "fneg float %fx"}, {true, "fcmp oeq float %fx, %fy"}, {true, "icmp eq i32 %x, %y"}, {true, "getelementptr i8, i8* %p, i32 %x"}, |