[all-commits] [llvm/llvm-project] af4dc6: [AArch64][GlobalISel] Fix atomic truncating stores...

Amara Emerson via All-commits all-commits at lists.llvm.org
Tue Nov 9 20:48:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af4dc633f86f62ae587b25ed2a17b6bf5fe7a3ac
      https://github.com/llvm/llvm-project/commit/af4dc633f86f62ae587b25ed2a17b6bf5fe7a3ac
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-11-09 (Tue, 09 Nov 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/select-truncstore-atomic.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Fix atomic truncating stores from generating invalid copies.

If the source reg is a 64b vreg, then we need to emit a subreg copy to a 32b
gpr before we select sub-64b variants like STLRW.




More information about the All-commits mailing list