[all-commits] [llvm/llvm-project] 612a10: [clang][byte] Add callback mechanism to handle con...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Sep 23 06:15:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 612a105c46a77dc4c1c04d1e5cdd85d1b77decec
      https://github.com/llvm/llvm-project/commit/612a105c46a77dc4c1c04d1e5cdd85d1b77decec
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp

  Log Message:
  -----------
  [clang][byte] Add callback mechanism to handle constexpr for unary integer ops (#160280)

Add interp__builtin_elementwise_int_unaryop - similar to what we already have with interp__builtin_elementwise_int_binop to handle binops

Update x86 lzcnt/tzcnt intrinsics to use with a suitable callback

I'll add vector handling in a future patch when we add x86 vector intrinsics that can use it



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