diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2014-12-02 14:22:34 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2014-12-02 14:22:34 +0000 |
commit | d035fbb96f58df15964fa6f0cef0110656de678f (patch) | |
tree | f4296ff4129d6d4d007a260fd859314618bdfcb2 /clang/lib/Basic/IdentifierTable.cpp | |
parent | 7f43266778cffe586899c326a778de2497a6e22c (diff) | |
download | bcm5719-llvm-d035fbb96f58df15964fa6f0cef0110656de678f.tar.gz bcm5719-llvm-d035fbb96f58df15964fa6f0cef0110656de678f.zip |
[LICM] Avoind store sinking if no preheader is available
Load instructions are inserted into loop preheaders when sinking stores
and later removed if not used by the SSA updater. Avoid sinking if the
loop has no preheader and avoid crashes. This fixes one more side effect
of not handling indirectbr instructions properly on LoopSimplify.
llvm-svn: 223119
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions