[all-commits] [llvm/llvm-project] ef949e: [MachineSink] Use SkipPHIsAndLabels for sink inser...
Carl Ritson via All-commits
all-commits at lists.llvm.org
Tue Feb 15 19:45:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef949ecba57410e8b856f3246128312c79207933
https://github.com/llvm/llvm-project/commit/ef949ecba57410e8b856f3246128312c79207933
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2022-02-16 (Wed, 16 Feb 2022)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
A llvm/test/CodeGen/AMDGPU/sink-after-control-flow.mir
Log Message:
-----------
[MachineSink] Use SkipPHIsAndLabels for sink insertion points
For AMDGPU the insertion point for a block may not be the first
non-PHI instruction. This happens when a block contains EXEC
mask manipulation related to control flow (converging lanes).
Use SkipPHIsAndLabels to determine the block insertion point
so that the target can skip any block prologue instructions.
Reviewed By: rampitec, ruiling
Differential Revision: https://reviews.llvm.org/D119399
More information about the All-commits
mailing list