[PATCH] D49433: [x86/SLH] Add the design document for Speculative Load Hardening, a Spectre v1 mitigation.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 17 15:34:17 PDT 2018


efriedma added inline comments.


================
Comment at: llvm/docs/SpeculativeLoadHardening.md:506
+when the register pressure is sufficient to make it worth spilling to memory
+and reloading.
+
----------------
Does spilling the register to memory potentially introduce new issues?  The program could use a speculative buffer overflow to clobber it, like in variant 1.1.


Repository:
  rL LLVM

https://reviews.llvm.org/D49433





More information about the llvm-commits mailing list