llvm-6502/unittests/IR
Sanjay Patel 4211bbc568 Fix a logic bug when copying fast-math flags.
"Setting" does not equal "copying". This bug has sat dormant for 2 reasons:
1. The unit test was not adequate.
2. Every current user of the "copyFastMathFlags" API is operating on a new instruction.
   (ie, all existing fast-math flags are off). If you copy flags to an existing
   instruction that has some flags on already, you will not necessarily turn them off
   as expected.

I uncovered this bug while trying to implement a fix for PR20802.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216939 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-02 20:03:00 +00:00
..
AttributesTest.cpp
CMakeLists.txt
ConstantRangeTest.cpp
ConstantsTest.cpp IR: Fix a missed case when threading OnlyIfReduced through ConstantExpr 2014-08-19 21:18:21 +00:00
DominatorTreeTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
InstructionsTest.cpp
IRBuilderTest.cpp Fix a logic bug when copying fast-math flags. 2014-09-02 20:03:00 +00:00
LeakDetectorTest.cpp
LegacyPassManagerTest.cpp
Makefile
MDBuilderTest.cpp
MetadataTest.cpp
PassManagerTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
PatternMatch.cpp
TypeBuilderTest.cpp
TypesTest.cpp
UserTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
UseTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
ValueHandleTest.cpp
ValueMapTest.cpp Support: make LLVM Mutexes STL-compatible 2014-08-23 22:49:22 +00:00
ValueTest.cpp Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
VerifierTest.cpp
WaymarkTest.cpp