diff --git a/src/mapleall/maple_ir/src/mir_nodes.cpp b/src/mapleall/maple_ir/src/mir_nodes.cpp index e22c63debbd299b6af1cabcf1d31bd08f4a23e78..9bf2358138099243a66018b1a7ae45951d7272de 100644 --- a/src/mapleall/maple_ir/src/mir_nodes.cpp +++ b/src/mapleall/maple_ir/src/mir_nodes.cpp @@ -1364,6 +1364,11 @@ bool ArithResTypeVerify(PrimType pTyp) { default: break; } + + // Arithmetic operations on all vector types are allowed + PrimitiveType PT(pTyp); + if (PT.IsVector()) return true; + return false; }