[PATCH] D84471: [X86] Fix for ballooning compile times due to Load Value Injection (LVI) mitigations
Scott Constable via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 27 10:30:30 PDT 2020
sconstab updated this revision to Diff 280966.
sconstab added a comment.
Made one further optimization.
At line 669, I added a check that will only invoke `elimMitigatedEdgesAndNodes()` if the current function already has `LFENCE`s that may mitigate some gadgets. If the function does not have any `LFENCE`s, then `elimMitigatedEdgesAndNodes()` will not transform the gadget graph because (a) there are no fences to eliminate, and (b) the new heuristic only performs *one* round of cuts *after* `elimMitigatedEdgesAndNodes()` runs.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84471/new/
https://reviews.llvm.org/D84471
Files:
llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84471.280966.patch
Type: text/x-patch
Size: 8458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200727/d8f4e19d/attachment.bin>
More information about the llvm-commits
mailing list