Skip to content

Commit

Permalink
Silencing an MSVC warning.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192042 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
AaronBallman committed Oct 5, 2013
1 parent 87855d3 commit bd5b912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittests/IR/IRBuilderTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit bd5b912

Please sign in to comment.