[clang] [flang] [llvm] [Clang][AMDGPU] Expose buffer load lds as a clang builtin (PR #132048)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 24 09:13:05 PDT 2025
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/132048 at github.com>
================
@@ -3368,7 +3368,7 @@ bool AMDGPUInstructionSelector::selectG_INSERT_VECTOR_ELT(
}
bool AMDGPUInstructionSelector::selectBufferLoadLds(MachineInstr &MI) const {
- assert(!AMDGPU::isGFX12Plus(STI));
+ assert(Subtarget->hasLDSBufferLoad());
----------------
arsenm wrote:
This assert shouldn't have been here to begin with, this should be a select failure
https://github.com/llvm/llvm-project/pull/132048
More information about the llvm-commits
mailing list