aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Serialization/ModuleCacheTest.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-11-21 10:25:04 +0000
committerGitHub <noreply@github.com>2024-11-21 10:25:04 +0000
commitef102b4a6333a304e36dc623d5381257a7ef1ed6 (patch)
tree5239d81e77ce6186f69e3bacd748d76b45c63f0a /clang/unittests/Serialization/ModuleCacheTest.cpp
parenteb48e1100a1f9dc26c6f2e56301c0a55394465c5 (diff)
downloadllvm-ef102b4a6333a304e36dc623d5381257a7ef1ed6.zip
llvm-ef102b4a6333a304e36dc623d5381257a7ef1ed6.tar.gz
llvm-ef102b4a6333a304e36dc623d5381257a7ef1ed6.tar.bz2
[MachineLICM] Don't allow hoisting invariant loads across mem barrier. (#116987)
The improvements in 63917e1 / #70796 do not check for memory barriers/unmodelled sideeffects, which means we may incorrectly hoist loads across memory barriers. Fix this by checking any machine instruction in the loop is a load-fold barrier. PR: https://github.com/llvm/llvm-project/pull/116987
Diffstat (limited to 'clang/unittests/Serialization/ModuleCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions