[llvm] [AMDGPU] Do not run GCNNSAReassign pass for GFX12 (PR #78185)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 05:30:09 PST 2024
================
@@ -237,7 +237,7 @@ GCNNSAReassign::CheckNSA(const MachineInstr &MI, bool Fast) const {
bool GCNNSAReassign::runOnMachineFunction(MachineFunction &MF) {
ST = &MF.getSubtarget<GCNSubtarget>();
- if (!ST->hasNSAEncoding())
+ if (!ST->hasNSAEncoding() || ST->getGeneration() > GCNSubtarget::GFX11)
----------------
jayfoad wrote:
Done.
https://github.com/llvm/llvm-project/pull/78185
More information about the llvm-commits
mailing list