[llvm] [SandboxVec] SandboxVectorizerIR Boilerplate (PR #189515)

Jorge Gorbe Moya via llvm-commits llvm-commits at lists.llvm.org
Sun May 3 14:21:27 PDT 2026


================
@@ -40,7 +40,8 @@ class TargetExtType;
 class VectorType;
 #define DEF_INSTR(ID, OPCODE, CLASS) class CLASS;
 #define DEF_CONST(ID, CLASS) class CLASS;
-#include "llvm/SandboxIR/Values.def"
+#define DEF_DISABLE_AUTO_UNDEF // Since we are including more than one .def.
----------------
slackito wrote:

Nit: I'd replace the comment with `// The file below includes multiple .def files.` or something along that line.

Mostly because if I read "we're including more than one .def" and see only one `#include` directive, I think it's an outdated comment.

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


More information about the llvm-commits mailing list