[PATCH] D123048: [AMDGPU] Ignore debug use during PreRARematerialize stage in scheduling pass

Vang Thao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 09:53:55 PDT 2022


vangthao created this revision.
Herald added subscribers: hsmhsm, foad, kerbowa, javed.absar, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
Herald added a project: All.
vangthao requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Ignore all debug uses when collecting trivially rematerializable defs. This fixes an issue with difference in codegen when enabling debug info.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123048

Files:
  llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
  llvm/test/CodeGen/AMDGPU/machine-scheduler-sink-trivial-remats.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123048.420220.patch
Type: text/x-patch
Size: 8493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220404/3d4a3c75/attachment-0001.bin>


More information about the llvm-commits mailing list