[llvm] [SandboxIR] Functions to find vectorizor-relevant properties (PR #109221)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 09:12:47 PDT 2024


================
@@ -54,12 +54,13 @@ class Type {
   friend class ConstantVector; // For LLVMTy.
   friend class CmpInst;        // For LLVMTy. TODO: Cleanup after
                                // sandboxir::VectorType is more complete.
+  friend class Utils;          // for LLVMTy
 
   // Friend all instruction classes because `create()` functions use LLVMTy.
 #define DEF_INSTR(ID, OPCODE, CLASS) friend class CLASS;
 #define DEF_CONST(ID, CLASS) friend class CLASS;
 #include "llvm/SandboxIR/SandboxIRValues.def"
-  Context &Ctx;
+      Context &Ctx;
----------------
vporpo wrote:

clang-format ?

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


More information about the llvm-commits mailing list