summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PHIElimination.cpp
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2019-01-28 17:48:45 +0000
committerAlina Sbirlea <asbirlea@google.com>2019-01-28 17:48:45 +0000
commit932108703a26491d4bda6723c1049fd50702d44d (patch)
tree3fa7922076b222abf47d03cfe552e4af465cdf31 /llvm/lib/CodeGen/PHIElimination.cpp
parent3720e2b39e4be7db2a62ff4447502e61f3681b59 (diff)
downloadbcm5719-llvm-932108703a26491d4bda6723c1049fd50702d44d.tar.gz
bcm5719-llvm-932108703a26491d4bda6723c1049fd50702d44d.zip
[SimpleLoopUnswitch] Early check exit for trivial unswitch with MemorySSA.
Summary: If MemorySSA is avaiable, we can skip checking all instructions if block has any Defs. (volatile loads are also Defs). We still need to check all instructions for "canThrow", even if no Defs are found. Reviewers: chandlerc Subscribers: sanjoy, jlebar, Prazek, george.burgess.iv, llvm-commits Differential Revision: https://reviews.llvm.org/D57129 llvm-svn: 352393
Diffstat (limited to 'llvm/lib/CodeGen/PHIElimination.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud