summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2013-10-05 19:41:41 +0000
committerAaron Ballman <aaron@aaronballman.com>2013-10-05 19:41:41 +0000
commitbd5b912dccbdd9708c8efe809af4bfbf31328288 (patch)
treecd73177a6f1c9397c7c54c75ea4f69a19d5d4f14 /unittests
parent87855d3013d9a87a3aeb51508312b76e200baac7 (diff)
downloadllvm-bd5b912dccbdd9708c8efe809af4bfbf31328288.tar.gz
llvm-bd5b912dccbdd9708c8efe809af4bfbf31328288.tar.bz2
llvm-bd5b912dccbdd9708c8efe809af4bfbf31328288.tar.xz
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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/IR/IRBuilderTest.cpp b/unittests/IR/IRBuilderTest.cpp
index d79ff62b19..c01d49c8e0 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);