summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/IslNodeBuilder.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-11-19 16:13:14 +0000
committerSanjay Patel <spatel@rotateright.com>2017-11-19 16:13:14 +0000
commitfbd3e66b9ac094e57ad2ead5a3113260d5975504 (patch)
tree85cc8baccd4542055bcedb2ce5a275dc8efab094 /polly/lib/CodeGen/IslNodeBuilder.cpp
parenteb731b09f3cbea16487d1abc63029d5fa2d899b2 (diff)
downloadbcm5719-llvm-fbd3e66b9ac094e57ad2ead5a3113260d5975504.tar.gz
bcm5719-llvm-fbd3e66b9ac094e57ad2ead5a3113260d5975504.zip
[LibCallSimplifier] partly fix pow(x, 0.5) -> sqrt() transforms
As the first test shows, we could transform an llvm intrinsic which never sets errno into a libcall which could set errno (even though it's marked readnone?), so that's not ideal. It's possible that we can also transform a libcall which could set errno to an intrinsic given the fast-math-flags constraint, but that's deferred to determine exactly which set of FMF are needed. Differential Revision: https://reviews.llvm.org/D40150 llvm-svn: 318628
Diffstat (limited to 'polly/lib/CodeGen/IslNodeBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud