aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-23 19:10:37 +0000
committerDan Gohman <gohman@apple.com>2009-01-23 19:10:37 +0000
commita90c8e690bd9103bb4a5d943f98279a55bf42ad1 (patch)
tree257158fb7b2f837edb406b8fc87436d116eb31ba /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parent2603580d473a5b2b33980042ba4d7802280a395b (diff)
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
0 files changed, 0 insertions, 0 deletions