[llvm-branch-commits] [llvm] [NFC][SPIRV] Remove last uses of `SPIRVType` (PR #182098)

Marcos Maronas via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Feb 18 11:10:09 PST 2026


Juan Manuel Martinez =?utf-8?q?CaamaƱo?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/182098 at github.com>


================
@@ -102,11 +102,13 @@ class SPIRVGlobalRegistry : public SPIRVIRMapping {
                         SPIRV::AccessQualifier::AccessQualifier AccessQual,
                         bool ExplicitLayoutRequired, bool EmitIR);
 
-  // Internal function creating the an OpType at the correct position in the
-  // function by tweaking the passed "MIRBuilder" insertion point and restoring
-  // it to the correct position. "Op" should be the function creating the
-  // specific OpType you need, and should return the newly created instruction.
-  SPIRVType *createOpType(MachineIRBuilder &MIRBuilder,
+  // Internal function creating the an Types/Constants at the correct position
----------------
maarquitos14 wrote:

```suggestion
  // Internal function creating the Types/Constants at the correct position
```

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


More information about the llvm-branch-commits mailing list