diff options
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/IR/IRBuilderTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/IR/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp index d79ff62..c01d49c 100644 --- a/unittests/IR/IRBuilderTest.cpp +++ b/unittests/IR/IRBuilderTest.cpp @@ -187,8 +187,8 @@ TEST_F(IRBuilderTest, RAIIHelpersTest) { EXPECT_FALSE(Builder.getFastMathFlags().allowReciprocal()); MDBuilder MDB(M->getContext()); - MDNode *FPMathA = MDB.createFPMath(0.01); - MDNode *FPMathB = MDB.createFPMath(0.1); + MDNode *FPMathA = MDB.createFPMath(0.01f); + MDNode *FPMathB = MDB.createFPMath(0.1f); Builder.SetDefaultFPMathTag(FPMathA); |