[PATCH] D129693: [ARM] Don't emit Arm speculation hardening thunks under Thumb and vice-versa

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 03:16:19 PST 2022


dmgreen updated this revision to Diff 482052.
dmgreen added a comment.

Thanks for the suggestions. This now changes the type to be a parameter passed to the base class, which can be an enum for Arm so long as we can still treat it like a bitmask.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129693/new/

https://reviews.llvm.org/D129693

Files:
  llvm/include/llvm/CodeGen/IndirectThunks.h
  llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
  llvm/lib/Target/ARM/ARMSLSHardening.cpp
  llvm/lib/Target/X86/X86IndirectThunks.cpp
  llvm/test/CodeGen/ARM/speculation-hardening-sls-boththunks.ll
  llvm/test/CodeGen/ARM/speculation-hardening-sls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129693.482052.patch
Type: text/x-patch
Size: 10421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221212/52e1d77c/attachment.bin>


More information about the llvm-commits mailing list