forked from OSchip/llvm-project
Add a note about a cute little fabs optimization.
llvm-svn: 153543
This commit is contained in:
parent
f0901459b9
commit
2735c01906
|
@ -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.
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue