[llvm] [AMDGPU] GFX12: select @llvm.prefetch intrinsic (PR #74576)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 11:49:24 PST 2023


================
@@ -3101,6 +3101,24 @@ void AMDGPURegisterBankInfo::applyMappingImpl(
       applyDefaultMapping(OpdMapper);
       constrainOpWithReadfirstlane(B, MI, 8); // M0
       return;
+    case Intrinsic::prefetch: {
----------------
rampitec wrote:

It should have G_PREFETCH, but we do not currently have it.
Then I honestly do not remember why do I erase it here. Likely because I am erasing it here for VGPRBank anyway.

https://github.com/llvm/llvm-project/pull/74576


More information about the llvm-commits mailing list