aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2009-01-28 15:43:23 +0000
committerTanya Lattner <tonic@nondot.org>2009-01-28 15:43:23 +0000
commit9c5836dc6a0727cf6fdd8bbb35daa65759c887b9 (patch)
tree231f84dcda58d2e93cb721441a7f34d9e30507e4 /lib/CodeGen/StackProtector.cpp
parent8cbc81075ec6d73f5a5fc6e36111f0fd9bbda75f (diff)
Merge from mainline.
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/branches/release_25@63207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions