[all-commits] [llvm/llvm-project] 0cf293: [CIR]Implement lowering for simple sin/cos/tan/exp...

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Jul 30 10:15:02 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cf29309fd12668307f39bd540100618de626e94
      https://github.com/llvm/llvm-project/commit/0cf29309fd12668307f39bd540100618de626e94
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
    M clang/test/CIR/CodeGenBuiltins/builtins-elementwise.c
    M clang/test/CIR/CodeGenBuiltins/builtins-floating-point.c

  Log Message:
  -----------
  [CIR]Implement lowering for simple sin/cos/tan/exp10 builtins. (#211614)

Discovered these just looking around, they are pretty simple/trivial
translations to LLVM-IR intrins, and the infrastructure to do so is
already in place, so this is a bit of simple wiring up!

Implements f/h/hl versions of sin/cos/tan. Also implements base-10
exponent, since it is also trivial.



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