[PATCH] D144070: [llvm][GenericUniformity] Prevent assert while calculating temporal divergence
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 16 17:55:11 PST 2023
arsenm added inline comments.
================
Comment at: llvm/test/Analysis/DivergenceAnalysis/AMDGPU/MIR/uses-value-from-cycle.mir:4
+--- |
+ define amdgpu_cs void @f2() #0 {
+ bb:
----------------
yassingh wrote:
> arsenm wrote:
> > Shouldn't need IR section?
> I took the tests from [[ https://github.com/llvm/llvm-project/issues/60638 | #60638]] (extracted the GMIR input that was fed to uniformity analysis). I wasn't able to use @llvm.amdgcn.raw.atomic.buffer.load without including the IR section. Is there a workaround?
The intrinsic declaration is broken in some way because it's having an address computed. The reference in SI_PC_ADD_REL_OFFSET indicates this wasn't recognized as an intrinsic.
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