llvm/lib
Dan Gohman a90c8e690b Fold x-0 to x in unsafe-fp-math mode. This comes up in the
testcase from PR3376, and in fact is sufficient to completely
avoid the problem in that testcase.

There's an underlying problem though; TLI.isOperationLegal
considers Custom to be Legal, which might be ok in some
cases, but that's what DAGCombiner is using in many places
to test if something is legal when LegalOperations is true.
When DAGCombiner is running after legalize, this isn't
sufficient. I'll address this in a separate commit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62860 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-23 19:10:37 +00:00
..
Analysis fix two more cases where we could let the NLPDI cache get unsorted. 2009-01-23 07:12:16 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser Add the private linkage. 2009-01-15 20:18:42 +00:00
Bitcode use specialized accessor instead of plain getOperand(0) 2009-01-16 18:40:27 +00:00
CodeGen Fold x-0 to x in unsafe-fp-math mode. This comes up in the 2009-01-23 19:10:37 +00:00
Debugger Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
ExecutionEngine Revert r62553 and r62616 due to issues with portability. 2009-01-22 20:09:20 +00:00
Linker Add the private linkage. 2009-01-15 20:18:42 +00:00
Support Do not use host floating point types when emitting 2009-01-21 20:32:55 +00:00
System rename methods in System/Host to be more consistent. 2009-01-22 19:53:00 +00:00
Target Add SelectionDAG::getNOT method to construct bitwise NOT operations, 2009-01-22 17:39:32 +00:00
Transforms introduce a useful abstraction to find out if a Use is in the call position of an instruction 2009-01-22 21:35:57 +00:00
VMCore Do not use host floating point types when emitting 2009-01-21 20:32:55 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00