[PATCH] D88725: [GVN LoadPRE] Extend the scope of optimization by using context to prove safety of speculation
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 03:09:14 PDT 2020
skatkov created this revision.
skatkov added reviewers: nikic, fhahn, mkazantsev, lebedev.ri, efriedma.
Herald added subscribers: dantrushin, hiraditya.
Herald added a project: LLVM.
skatkov requested review of this revision.
Use context to prove that load can be safely executed at a point where load is being hoisted.
Postpone the decision about safety of speculative load execution till the moment we know
where we hoist load and check safety at that context.
https://reviews.llvm.org/D88725
Files:
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/test/Transforms/GVN/loadpre-context.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88725.295774.patch
Type: text/x-patch
Size: 7646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201002/425ba3e9/attachment.bin>
More information about the llvm-commits
mailing list