Go to file
Dan Gohman 1275e28ded 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.

llvm-svn: 62860
2009-01-23 19:10:37 +00:00
clang Allow subtraction of function pointer types in C, as a GNU extension. Fixes rdar://problem/6520707 2009-01-23 19:03:35 +00:00
llvm Fold x-0 to x in unsafe-fp-math mode. This comes up in the 2009-01-23 19:10:37 +00:00