[PATCH] D144070: [llvm][GenericUniformity] Prevent assert while calculating temporal divergence
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 15 01:32:04 PST 2023
foad added a reviewer: AMDGPU.
foad added inline comments.
================
Comment at: llvm/include/llvm/ADT/GenericUniformityImpl.h:814
<< "\n");
- if (!usesValueFromCycle(I, OuterDivCycle))
+ if (!isAlwaysUniform(I) && !usesValueFromCycle(I, OuterDivCycle))
return;
----------------
This is too complicated. Just swap lines 814 and 817.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144070/new/
https://reviews.llvm.org/D144070
More information about the llvm-commits
mailing list