[PATCH] D118853: [AMDGPU] Fix scheduler live-ins with debug inst at start of block
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 2 15:39:21 PST 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp:514
- if (Regions[CurRegion].first == I) {
+ if (Regions[CurRegion].first == I || NonDbgMI == I) {
LiveIns[CurRegion] = RPTracker.getLiveRegs();
----------------
could you just apply skipDebuInstructionsForward to MBB->begin instead of adding a second check
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118853/new/
https://reviews.llvm.org/D118853
More information about the llvm-commits
mailing list