Use poison instead of undef when emitting llvm.amdgcn.update.dpp for __builtin_amdgcn_mov_dpp.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Couldn't find documentation for this intrinsic, can you shed a light on whether or not this change is OK?
Comment Actions
Is this change OK? It seems to me that here undef is just a placeholder. Was hoping that some AMDGPU folks could review it.
Comment Actions
I think this is OK. It’s use of uninitialized value, those uninitialized values just happen to come from inactive lanes.