summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-10-08 16:56:55 +0000
committerSanjay Patel <spatel@rotateright.com>2015-10-08 16:56:55 +0000
commit9115cf8c9dc23e3a9bd0e915f426b4fc694cd133 (patch)
tree08fe8f3380b4e09941e8696311d7747fb03c8d93 /llvm/lib/Transforms
parentaac75382160bb19e7d58c8d3af15ee629eaa860d (diff)
downloadbcm5719-llvm-9115cf8c9dc23e3a9bd0e915f426b4fc694cd133.tar.gz
bcm5719-llvm-9115cf8c9dc23e3a9bd0e915f426b4fc694cd133.zip
[ValueTracking] teach computeKnownBits that a fabs() clears sign bits
This was requested in D13076: if we're going to canonicalize to fabs(), ValueTracking should know that fabs() clears sign bits. In this patch (as in D13076), we're not handling vectors yet even though computeKnownBits' fabs() case itself should be vector-ready via the splat in this patch. Fixing this will require follow-on patches to correct other logic that uses 'getScalarType'. Differential Revision: http://reviews.llvm.org/D13222 llvm-svn: 249701
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud