[all-commits] [llvm/llvm-project] 3acaf0: [LLVM][AArch64] Don't warn about clobbering X16 wh...

David Spickett via All-commits all-commits at lists.llvm.org
Wed Sep 14 08:20:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3acaf04033a5128ea6e5dbfee9827e2af709b013
      https://github.com/llvm/llvm-project/commit/3acaf04033a5128ea6e5dbfee9827e2af709b013
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-09-14 (Wed, 14 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
    M llvm/test/CodeGen/AArch64/speculation-hardening-dagisel.ll

  Log Message:
  -----------
  [LLVM][AArch64] Don't warn about clobbering X16 when Speculative Load Hardening is used

SLH will fall back to a different technique if X16 is being used,
so there is no need to warn for inline asm use. Only prevent other codegen
from using it.

Reviewed By: kristof.beyls

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




More information about the All-commits mailing list