[PATCH] D49336: [x86/SLH] Teach speculative load hardening to correctly harden the indices used by AVX2 and AVX-512 gather instructions.

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 13 21:35:18 PDT 2018


chandlerc created this revision.
chandlerc added reviewers: craig.topper, echristo.
Herald added subscribers: hiraditya, mcrosier, sanjoy.

Add test coverage specifically of gathers as these are a really special
beast of "load".

I'm still working on the tests for AVX-512, but they're not going to be super
surprising. I may have a latent bug there, but hopefully nothing too egregious.
Does the approach at least seem right?


Repository:
  rL LLVM

https://reviews.llvm.org/D49336

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49336.155547.patch
Type: text/x-patch
Size: 19365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180714/4b9b98a1/attachment.bin>


More information about the llvm-commits mailing list