[PATCH] D49663: [x86/SLH] Teach the x86 speculative load hardening pass to harden against v1.2 BCBS attacks directly.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 24 06:01:26 PDT 2018


chandlerc updated this revision to Diff 157013.
chandlerc added a comment.

Rebase on top of the cleaned up folding patch, and now without any copy/paste
code smells. We just call out to the generic low-level register hardening
routine.

Other than checking for interactions w/ retpolines, this should be ready to go.


Repository:
  rL LLVM

https://reviews.llvm.org/D49663

Files:
  llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp
  llvm/test/CodeGen/X86/speculative-load-hardening-indirect.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49663.157013.patch
Type: text/x-patch
Size: 13685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180724/65c94b44/attachment-0001.bin>


More information about the llvm-commits mailing list