[llvm] AMDGPU/UniformityAnalysis: MIR Uniformity analysis for INLINEASM (PR #201874)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 9 02:13:15 PDT 2026
================
@@ -11014,6 +11014,19 @@ ValueUniformity SIInstrInfo::getValueUniformity(const MachineInstr &MI) const {
opcode == AMDGPU::SI_RESTORE_S32_FROM_VGPR)
return ValueUniformity::AlwaysUniform;
+ // If any of defs is divergent, report as NeverUniform. isUniformReg will
+ // calculate in more detail for each def from its reg class, if available.
+ if (MI.isInlineAsm()) {
----------------
arsenm wrote:
Yes, this result is malformed. This needs https://github.com/llvm/llvm-project/pull/179275
https://github.com/llvm/llvm-project/pull/201874
More information about the llvm-commits
mailing list