[all-commits] [llvm/llvm-project] fcc786: [Clang][bytecode] interp__builtin_elementwise_int_...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Fri Aug 29 04:49:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fcc786738a84399940a132d568b1507762d4b8d9
https://github.com/llvm/llvm-project/commit/fcc786738a84399940a132d568b1507762d4b8d9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-08-29 (Fri, 29 Aug 2025)
Changed paths:
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
Log Message:
-----------
[Clang][bytecode] interp__builtin_elementwise_int_binop - use APSInt callback instead of repeated switch statement (#155891)
Users of interp__builtin_elementwise_int_binop are going to be very well
defined, we can use a simple callback mechanism (including existing
llvm::APIntOps static methods) to perform the evaluation and avoid a
repeated switch statement.
Hopefully this will help keep interp__builtin_elementwise_int_binop
clean as we add more uses
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list