================
@@ -2786,8 +2785,8 @@ static bool interp__builtin_ia32_pclmulqdq(InterpState
&S, CodePtr OpPC,
// Perform carry-less multiplication (polynomial multiplication in
GF(2^64))
// This multiplies two 64-bit values to produce a 128-bit result
- APInt AVal = A.getValue().zextOrTrunc(64);
- APInt BVal = B.getValue().zextOrTrunc(64);
+ APInt AVal = A.extOrTrunc(64);
+ APInt BVal = B.extOrTrunc(64);
----------------
RKSimon wrote:
Maybe make A + B both APInt and still use zextOrTrunc - I never trust APSInt
signedness....
https://github.com/llvm/llvm-project/pull/169214
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits