[all-commits] [llvm/llvm-project] 4bcf97: [CIR] Add Support For Library Builtins (#143984)

Morris Hafner via All-commits all-commits at lists.llvm.org
Mon Jun 16 15:04:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bcf9732c7361b3ea5208ced592245e0302fc7a2
      https://github.com/llvm/llvm-project/commit/4bcf9732c7361b3ea5208ced592245e0302fc7a2
  Author: Morris Hafner <mmha at users.noreply.github.com>
  Date:   2025-06-16 (Mon, 16 Jun 2025)

  Changed paths:
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.h
    M clang/test/CIR/CodeGen/builtin_call.cpp
    A clang/test/CIR/CodeGen/builtin_printf.cpp

  Log Message:
  -----------
  [CIR] Add Support For Library Builtins (#143984)

This patch upstreams support for builtins that map to a standard library
function. Examples would be abort() and printf().

It also fixes a minor issue with the errorNYI for all remaining
unimplemented builtins using the mlir::Location instead of the clang AST
SourceLocation.



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