[PATCH] D89754: [AMDGPU] Avoid inserting noops during scheduling
Austin Kerbow via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 17:14:31 PDT 2020
kerbowa created this revision.
kerbowa added reviewers: rampitec, foad, t-tye, arsenm.
Herald added subscribers: llvm-commits, hiraditya, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
kerbowa requested review of this revision.
Herald added a subscriber: wdng.
Passes that are run after the post-RA scheduler may insert instructions like
waitcnt which eliminate the need for certain noops. After this patch the
scheduler is still aware of possible latency from hazards but noops will
not be inserted until the dedicated hazard recognizer pass is run.
Depends on D89753 <https://reviews.llvm.org/D89753>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D89754
Files:
llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.i128.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.fmas.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.update.dpp.ll
llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
llvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
llvm/test/CodeGen/AMDGPU/global-saddr-atomics.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll
llvm/test/CodeGen/AMDGPU/memory_clause.ll
llvm/test/CodeGen/AMDGPU/nop-fold.mir
llvm/test/CodeGen/AMDGPU/power-sched-no-instr-sunit.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89754.299226.patch
Type: text/x-patch
Size: 35986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201020/8ef179f9/attachment-0001.bin>
More information about the llvm-commits
mailing list