commit | dbec9f78b1a5fab097c0254dd696a64d4f17d3c7 | [log] [tgz] |
---|---|---|
author | Zaara Syeda <syzaara@ca.ibm.com> | Mon Apr 09 14:50:02 2018 +0000 |
committer | Zaara Syeda <syzaara@ca.ibm.com> | Mon Apr 09 14:50:02 2018 +0000 |
tree | 9629a5891a20c36405a576ba69c5c6b8d60b3c1d | |
parent | 62bde38843a37f87d6a6ee24e76346a740fad2c8 [diff] |
[MachineLICM] Re-enable hoisting of constant stores This patch fixes an issue exposed on the SystemZ build bots when committing https://reviews.llvm.org/rL327856. The hoisting was temporarily disabled with an option. This patch now re-enables hoisting and checks that we only hoist a store instruction when all its operands are either constant caller preserved registers or immediates. Differential Revision: https://reviews.llvm.org/D45286 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329577 91177308-0d34-0410-b5e6-96231b3b80d8