diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-10-05 19:41:41 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-10-05 19:41:41 +0000 |
commit | bd5b912dccbdd9708c8efe809af4bfbf31328288 (patch) | |
tree | cd73177a6f1c9397c7c54c75ea4f69a19d5d4f14 /unittests | |
parent | 87855d3013d9a87a3aeb51508312b76e200baac7 (diff) | |
download | external_llvm-bd5b912dccbdd9708c8efe809af4bfbf31328288.zip external_llvm-bd5b912dccbdd9708c8efe809af4bfbf31328288.tar.gz external_llvm-bd5b912dccbdd9708c8efe809af4bfbf31328288.tar.bz2 |
Silencing an MSVC warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192042 91177308-0d34-0410-b5e6-96231b3b80d8
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); |