Add a note about a cute little fabs optimization.

llvm-svn: 153543
This commit is contained in:
Benjamin Kramer 2012-03-27 22:42:42 +00:00
parent f0901459b9
commit 2735c01906
1 changed files with 5 additions and 0 deletions

View File

@ -2370,3 +2370,8 @@ unsigned foo(unsigned x, unsigned y) { return x > y && x != 0; }
should fold to x > y.
//===---------------------------------------------------------------------===//
int f(double x) { return __builtin_fabs(x) < 0.0; }
should fold to false.
//===---------------------------------------------------------------------===//