[llvm] r192042 - Silencing an MSVC warning.
Aaron Ballman
aaron at aaronballman.com
Sat Oct 5 12:41:41 PDT 2013
Author: aaronballman
Date: Sat Oct 5 14:41:41 2013
New Revision: 192042
URL: http://llvm.org/viewvc/llvm-project?rev=192042&view=rev
Log:
Silencing an MSVC warning.
Modified:
llvm/trunk/unittests/IR/IRBuilderTest.cpp
Modified: llvm/trunk/unittests/IR/IRBuilderTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/IRBuilderTest.cpp?rev=192042&r1=192041&r2=192042&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/IRBuilderTest.cpp (original)
+++ llvm/trunk/unittests/IR/IRBuilderTest.cpp Sat Oct 5 14:41:41 2013
@@ -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);
More information about the llvm-commits
mailing list