[PATCH] D150438: [LLVM][Uniformity] Improve detection of uniform registers
Ruiling, Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 19:27:07 PDT 2023
ruiling added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstructions.td:423
let hasSideEffects = 1;
+ let IsNeverUniform = 1;
}
----------------
I think ``SI_IF` and `SI_ELSE` also need this flag being set, but it can be done in a separate change with proper tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150438/new/
https://reviews.llvm.org/D150438
More information about the llvm-commits
mailing list