================
@@ -2604,6 +2604,68 @@ static bool interp__builtin_elementwise_int_binop(
return true;
}
+static bool interp__builtin_x86_pack(
+ InterpState &S, CodePtr, const CallExpr *E, unsigned SrcBits, bool IsUnsat,
+ llvm::function_ref<APSInt(const APSInt &X, unsigned, unsigned, bool)>
+ narrowElement) {
----------------
woruyu wrote:
Done! use `const unsigned SrcBits = Ctx.getIntWidth(VT0->getElementType());` to
get SrcBits.
https://github.com/llvm/llvm-project/pull/156003
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits