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

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 17 01:46:59 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 {
----------------
RKSimon wrote:

I thought the plan was to remove all of these things? 

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


More information about the cfe-commits mailing list