[clang] [clang][x86][bytecode] added trailing type for ffs, missed in pr llvm#162346 for llvm#160288 (PR #163905)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 17 08:03:22 PDT 2025


================
@@ -3173,7 +3173,7 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call,
   case Builtin::BI__builtin_ffsl:
   case Builtin::BI__builtin_ffsll:
     return interp__builtin_elementwise_int_unaryop(
-        S, OpPC, Call, [](const APSInt &Val) {
+        S, OpPC, Call, [](const APSInt &Val) -> APInt {
----------------
donneypr wrote:

Sorry for the misunderstanding, removed them in InterpBuiltin.cpp

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


More information about the cfe-commits mailing list