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

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


================
@@ -46,7 +46,11 @@ class Instruction : public User {
 #define OP(OPC) OPC,
 #define OPCODES(...) __VA_ARGS__
 #define DEF_INSTR(ID, OPC, CLASS) OPC
-#include "llvm/SandboxIR/Values.def"
+#define DEF_DISABLE_AUTO_UNDEF // Since we are including more than one .def.
----------------
slackito wrote:

Got it, thanks! I missed the part where `DEF_DISABLE_AUTO_UNDEF` gets itself undefed.

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


More information about the llvm-commits mailing list