summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/SampleProfile.cpp
diff options
context:
space:
mode:
authorArtur Pilipenko <apilipenko@azulsystems.com>2016-08-12 16:08:30 +0000
committerArtur Pilipenko <apilipenko@azulsystems.com>2016-08-12 16:08:30 +0000
commit87e4038a9154cb4b79a3dc19fe096bd8bdc8801e (patch)
tree8709b060237364da3fefe8761a6e38e57680890d /llvm/lib/Transforms/IPO/SampleProfile.cpp
parent17e17010758aa06f03e878b0ee1f72f60e08575e (diff)
downloadbcm5719-llvm-87e4038a9154cb4b79a3dc19fe096bd8bdc8801e.tar.gz
bcm5719-llvm-87e4038a9154cb4b79a3dc19fe096bd8bdc8801e.zip
[x86] X86ISelLowering zext(add_nuw(x, C)) --> add(zext(x), C_zext)
Currently X86ISelLowering has a similar transformation for sexts: sext(add_nsw(x, C)) --> add(sext(x), C_sext) In this change I extend this code to handle zexts as well. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D23359 llvm-svn: 278520
Diffstat (limited to 'llvm/lib/Transforms/IPO/SampleProfile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud