[PATCH] D149646: [LLVM][Uniformity] Propagate temporal divergence explicitly
Yashwant Singh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 14 08:31:46 PDT 2023
yassingh added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineUniformityAnalysis.cpp:117-136
+void llvm::GenericUniformityAnalysisImpl<MachineSSAContext>::
+ propagateTemporalDivergence(const MachineInstr &I,
+ const MachineCycle &DefCycle) {
+ const auto &RegInfo = F.getRegInfo();
+ for (auto &Op : I.operands()) {
+ if (!Op.isReg() || !Op.isDef())
+ continue;
----------------
Is the case described in the summary also triggering for MIR? If yes maybe you can add a relevant test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149646/new/
https://reviews.llvm.org/D149646
More information about the llvm-commits
mailing list