[llvm] [SPIR-V] Add SPV_INTEL_unstructured_loop_controls extension (PR #178799)
Marcos Maronas via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 30 10:40:49 PST 2026
================
@@ -3697,6 +3644,13 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg,
}
return MIB.constrainAllUses(TII, TRI, RBI);
}
+ case Intrinsic::spv_loop_control_intel: {
+ auto MIB =
+ BuildMI(BB, I, I.getDebugLoc(), TII.get(SPIRV::OpLoopControlINTEL));
+ for (unsigned i = 1; i < I.getNumExplicitOperands(); ++i)
----------------
maarquitos14 wrote:
I understand that `I` here is the `MachineInstr`, and also that the rest of cases use `i`, but according to LLVM Coding Standards, variables should start with a capital letter. Can we give it a different name?
https://github.com/llvm/llvm-project/pull/178799
More information about the llvm-commits
mailing list