[all-commits] [llvm/llvm-project] 1d8a94: [AMDGPU] SILowerControlFlow: fix preservation of L...
Carl Ritson via All-commits
all-commits at lists.llvm.org
Sun Sep 10 21:47:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1d8a94c4ffe758c4e9e81e63309d4a52a4db4356
https://github.com/llvm/llvm-project/commit/1d8a94c4ffe758c4e9e81e63309d4a52a4db4356
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2023-09-11 (Mon, 11 Sep 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
M llvm/test/CodeGen/AMDGPU/collapse-endcf.mir
A llvm/test/CodeGen/AMDGPU/lower-control-flow-live-intervals.mir
Log Message:
-----------
[AMDGPU] SILowerControlFlow: fix preservation of LiveIntervals
In emitElse live interval for SI_ELSE source must be recalculated
as SI_ELSE is removed, and new user is placed at block start.
In emitIfBreak live interval for new created AndReg must be
computed.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D158141
More information about the All-commits
mailing list