[all-commits] [llvm/llvm-project] 40abb2: RegAllocGreedy: Fix subranges when rematerializing...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Sun Jul 24 08:52:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40abb28f616ee3ea3f12488a8c5d934f55016725
https://github.com/llvm/llvm-project/commit/40abb28f616ee3ea3f12488a8c5d934f55016725
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-07-24 (Sun, 24 Jul 2022)
Changed paths:
M llvm/lib/CodeGen/LiveRangeEdit.cpp
M llvm/test/CodeGen/AMDGPU/remat-vop.mir
Log Message:
-----------
RegAllocGreedy: Fix subranges when rematerializing dead subreg defs
This would create a new interval missing the subrange and hit this
verifier error:
*** Bad machine code: Live interval for subreg operand has no subranges ***
- function: test_remat_subreg_def
- basic block: %bb.0 (0xa568758) [0B;128B)
- instruction: 32B dead undef %4.sub0:vreg_64 = V_MOV_B32_e32 2, implicit $exec
More information about the All-commits
mailing list