aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileOutputBuffer.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2018-08-24 16:24:48 +0000
committerPhilip Reames <listmail@philipreames.com>2018-08-24 16:24:48 +0000
commit9ec15faf20a405dffbc83162183822789a534423 (patch)
treec8717424dbf6c01efd8815540e184d3bcb76500f /llvm/lib/Support/FileOutputBuffer.cpp
parent0f6e12bcdffcec5fcea2133f011b64b52cf8129e (diff)
downloadllvm-9ec15faf20a405dffbc83162183822789a534423.zip
llvm-9ec15faf20a405dffbc83162183822789a534423.tar.gz
llvm-9ec15faf20a405dffbc83162183822789a534423.tar.bz2
[LICM] Hoist an invariant_start out of loops if there are no stores executed before it
Once the invariant_start is reached, we know that no instruction *after* it can modify the memory. So, if we can prove the location isn't read *between entry into the loop and the execution of the invariant_start*, we can execute the invariant_start before entering the loop. Differential Revision: https://reviews.llvm.org/D51181 llvm-svn: 340617
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions