summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-06-26 03:31:31 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-06-26 03:31:31 +0000
commit2abb65ae11c56e571f4164e32d81e9d100a0360b (patch)
treec6ba5380caf6ff22f227dc0e0b0d2615b9e7038c /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent69f49ce83c67ced4254befe6ff49a09c08eadd10 (diff)
downloadbcm5719-llvm-2abb65ae11c56e571f4164e32d81e9d100a0360b.tar.gz
bcm5719-llvm-2abb65ae11c56e571f4164e32d81e9d100a0360b.zip
[InstCombine] Factor the logic for propagating !nonnull and !range
metadata out of InstCombine and into helpers. NFC, this just exposes the logic used by InstCombine when propagating metadata from one load instruction to another. The plan is to use this in SROA to address PR32902. If anyone has better ideas about how to factor this or name variables, I'm all ears, but this seemed like a pretty good start and lets us make progress on the PR. This is based on a patch by Ariel Ben-Yehuda (D34285). llvm-svn: 306267
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud