[PATCH] D56717: [SLH] AArch64: correctly pick temporary register to mask SP

Kristof Beyls via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 18 04:48:09 PST 2019


kristof.beyls updated this revision to Diff 182498.
kristof.beyls edited the summary of this revision.
kristof.beyls added a comment.

Updated approach to use the register scavenger to find an available temporary register. In the rare case when no temporary register is available, fall back to inserting a full speculation barrier.


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

https://reviews.llvm.org/D56717

Files:
  llvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
  llvm/test/CodeGen/AArch64/speculation-hardening-loads.ll
  llvm/test/CodeGen/AArch64/speculation-hardening.ll
  llvm/test/CodeGen/AArch64/speculation-hardening.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56717.182498.patch
Type: text/x-patch
Size: 27012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190118/7c976f5e/attachment.bin>


More information about the llvm-commits mailing list