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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 23 16:28:02 PDT 2018


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp:843
+static const TargetRegisterClass *
+getRegClassForUnfoldedLoad(MachineFunction &MF, const X86InstrInfo &TII,
+                           unsigned Opcode) {
----------------
Why not use getOpcodeAfterMemoryUnfold?


Repository:
  rL LLVM

https://reviews.llvm.org/D49663





More information about the llvm-commits mailing list