[all-commits] [llvm/llvm-project] 6abbc3: [LiveIntervals] Update subranges in processTiedPairs

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Nov 11 04:27:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6abbc3a420c6d928541e8d5c35d8a8d55b52e3eb
      https://github.com/llvm/llvm-project/commit/6abbc3a420c6d928541e8d5c35d8a8d55b52e3eb
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll
    M llvm/test/CodeGen/AMDGPU/operand-folding.ll
    M llvm/test/CodeGen/Hexagon/addh.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-subvector.ll

  Log Message:
  -----------
  [LiveIntervals] Update subranges in processTiedPairs

In TwoAddressInstructionPass::processTiedPairs when updating live
intervals after moving the last use of RegB back to the newly inserted
copy, update any affected subranges as well as the main range.

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


  Commit: 491beae71d69960a3bb0298b17d4ef1f3119b767
      https://github.com/llvm/llvm-project/commit/491beae71d69960a3bb0298b17d4ef1f3119b767
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
    M llvm/test/CodeGen/AMDGPU/undefined-subreg-liverange.ll

  Log Message:
  -----------
  [TwoAddressInstruction] Update LiveIntervals after rewriting INSERT_SUBREG to COPY

Also add subranges to an existing live interval when introducing a new
subreg def.

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


Compare: https://github.com/llvm/llvm-project/compare/f04a1237bada...491beae71d69


More information about the All-commits mailing list