commit | 0d7d0b5cb7e41173b6fff2f0c2fbdcbebc9693fe | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanak@gmail.com> | Mon Jul 18 18:52:12 2011 +0000 |
committer | Akira Hatanaka <ahatanak@gmail.com> | Mon Jul 18 18:52:12 2011 +0000 |
tree | a52b2ced6a229818d967ddf11a16855d362a0879 | |
parent | 0af0dc8ac6d084bb04cf0188e48eecd6c98903ba [diff] |
Set mayLoad or mayStore flags for SC and LL in order to prevent LICM from moving them out of the loop. Previously, stores and loads to a stack frame object were inserted to accomplish this. Remove the code that was needed to do this. Patch by Sasa Stankovic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135415 91177308-0d34-0410-b5e6-96231b3b80d8