[all-commits] [llvm/llvm-project] 228aec: [llvm][AArch64] Copy all operands when expanding B...

David Spickett via All-commits all-commits at lists.llvm.org
Fri Jan 19 03:22:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 228aecbcf106a50c30b1f8f1915d61850860cbcd
      https://github.com/llvm/llvm-project/commit/228aecbcf106a50c30b1f8f1915d61850860cbcd
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
    A llvm/test/CodeGen/AArch64/blr-bti-preserves-operands.mir
    R llvm/test/CodeGen/AArch64/blr-bti-preserves-regmask.mir

  Log Message:
  -----------
  [llvm][AArch64] Copy all operands when expanding BLR_BTI bundle (#78267)

Fixes #77915

Previously I based the operand copying on expandCALL_RVMARKER but did
not understand it properly at the time. This lead to me dropping the
arguments of the function being branched to.

This fixes that by copying all operands from the BLR_BTI to the BL/BLR
without skipping anything.

I've updated the existing test by adding function arguments.




More information about the All-commits mailing list