================
@@ -2551,6 +2525,23 @@ static bool
interp__builtin_is_within_lifetime(InterpState &S, CodePtr OpPC,
return true;
}
+static bool interp__builtin_elementwise_int_unaryop(
+ InterpState &S, CodePtr OpPC, const CallExpr *Call,
+ llvm::function_ref<APInt(const APSInt &)> Fn) {
+ assert(Call->getType()->isIntegerType() && Call->getNumArgs() == 1);
----------------
tbaederr wrote:
This should be two separate asserts so we know what the problem is if it fails
https://github.com/llvm/llvm-project/pull/160280
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits