[all-commits] [llvm/llvm-project] 47d30d: [AArch64] Add implicit uses to speculative hardeni...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue May 23 01:32:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47d30de549954f71a4118000cee0accc29267f9a
      https://github.com/llvm/llvm-project/commit/47d30de549954f71a4118000cee0accc29267f9a
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

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

  Log Message:
  -----------
  [AArch64] Add implicit uses to speculative hardening MIR test

A couple of tests were setting liveins to add fake live registers, but
that only works if you track liveness forwards. Add some implicit uses
too, so that it also works if you track liveness backwards.

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


  Commit: 910af0e79e4d0688db046f38e311881b8cdc716a
      https://github.com/llvm/llvm-project/commit/910af0e79e4d0688db046f38e311881b8cdc716a
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-05-23 (Tue, 23 May 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp

  Log Message:
  -----------
  [AArch64] Avoid RegScavenger::forward in AArch64SpeculationHardening

RegScavenger::backward is preferred because it does not rely on accurate
kill flags.

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


Compare: https://github.com/llvm/llvm-project/compare/de45ab3c92d5...910af0e79e4d


More information about the All-commits mailing list