[clang] [clang][bytecode] Implement the constexpr built-in abs function. (PR #112459)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 21:13:50 PDT 2024


c8ef wrote:

> > This patch fixes the issue.
> 
> What issue? Is there a bug open about this?
> 
> You didn't implement it for the bytecode interpreter at all, only for the current interpreter.

Yes, I realized that. Apologies for the oversight. I will add the implementation to `InterpBuiltin.cpp`. Also, I'm curious why this triggers UBSan. Does the patch itself have a bug?

https://github.com/llvm/llvm-project/pull/112459


More information about the cfe-commits mailing list