[all-commits] [llvm/llvm-project] 10b93a: [AArch64] Make speculation-hardening-sls.ll x16 te...

David Green via All-commits all-commits at lists.llvm.org
Tue Oct 5 02:32:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10b93a5deceaa7d7daae50f12bc59f49b47680fd
      https://github.com/llvm/llvm-project/commit/10b93a5deceaa7d7daae50f12bc59f49b47680fd
  Author: David Green <david.green at arm.com>
  Date:   2021-10-05 (Tue, 05 Oct 2021)

  Changed paths:
    M llvm/test/CodeGen/AArch64/speculation-hardening-sls.ll

  Log Message:
  -----------
  [AArch64] Make speculation-hardening-sls.ll x16 test more robust

As suggested in D110830, this copies the Arm backend method of testing
function calls through specific registers, using inline assembly to
force the variable into x16 to check that the __llvm_slsblr_thunk calls
do not use a register that may be clobbered by the linker.

Differential Revision: https://reviews.llvm.org/D111056




More information about the All-commits mailing list