diff options
author | Alina Sbirlea <asbirlea@google.com> | 2019-01-28 17:48:45 +0000 |
---|---|---|
committer | Alina Sbirlea <asbirlea@google.com> | 2019-01-28 17:48:45 +0000 |
commit | 932108703a26491d4bda6723c1049fd50702d44d (patch) | |
tree | 3fa7922076b222abf47d03cfe552e4af465cdf31 /llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp | |
parent | 3720e2b39e4be7db2a62ff4447502e61f3681b59 (diff) | |
download | bcm5719-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/TargetFrameLoweringImpl.cpp')
0 files changed, 0 insertions, 0 deletions