================ @@ -11598,6 +11598,8 @@ def err_ppc_invalid_arg_type : Error< "argument %0 must be of type %1">; def err_x86_builtin_invalid_rounding : Error< "invalid rounding argument">; +def err_x86_builtin_reserved_vunpackb_imm : Error< + "argument value %0 is a reserved VUNPACKB immediate">; ---------------- e-kud wrote:
Agree. It looks like there is no universal message for such errors (am I missing it?). I also think that either `[6, 7]` needs to be parameters to the error message or make a message something like `argument value crosses a reserved bits mask`. To make it more universal if we have disjoint intervals of reserved bits, e.g. `[1, 2]`, `[6-7]` -- `0xC6` https://github.com/llvm/llvm-project/pull/206888 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
