<div dir="ltr"><div dir="ltr"><div>Hi all,</div><div>I'm experimenting with the Interpreter and all look good so far :) Unfortunately when I play with the visitBinartOperator() method I have the following assertion error:</div><div><br></div><div>Support/APInt.cpp:233: llvm::APInt llvm::APInt::operator*(const llvm::APInt &) const: Assertion `BitWidth == RHS.BitWidth && "Bit widths must be the same"' failed.<br></div><div><br></div><div>I have recompiled llvm and printer the 2 widths. BitWidth is 1 and RHS.BitWidth is 32.</div><div><br></div><div>I would clarify that in the visitBinaryOperator() I just call Interpreter::visitBinaryOperator(I) and I do not perform any other operation.</div><div><br></div><div>Can you imagine any reason why this error happens? I have attached the file I used for having the error.</div><div><br></div><div>Thanks<br></div></div></div>