[llvm] [AMDGPU] Add intrinsic readanylane (PR #115696)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 11 05:29:18 PST 2024


================
@@ -4658,6 +4658,8 @@ AMDGPURegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
       OpdsMapping[3] = AMDGPU::getValueMapping(IdxBank, IdxSize);
       [[fallthrough]];
     }
+    case Intrinsic::amdgcn_readanylane:
+      [[fallthrough]];
----------------
jayfoad wrote:

Don't need `[[fallthrough]]` when the `case` lines are consecutive.

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


More information about the llvm-commits mailing list