[all-commits] [llvm/llvm-project] df0e9f: [CIR] Implement __builtin_return_address and __bui...

Morris Hafner via All-commits all-commits at lists.llvm.org
Fri Aug 15 15:47:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: df0e9f3a2d6e858a2552f453655beae58660b007
      https://github.com/llvm/llvm-project/commit/df0e9f3a2d6e858a2552f453655beae58660b007
  Author: Morris Hafner <mmha at users.noreply.github.com>
  Date:   2025-08-16 (Sat, 16 Aug 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/CodeGen/CIRGenBuilder.h
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
    M clang/lib/CIR/CodeGen/CIRGenConstantEmitter.h
    M clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    M clang/test/CIR/CodeGen/builtins.cpp

  Log Message:
  -----------
  [CIR] Implement __builtin_return_address and __builtin_frame_address (#153698)

This adds ReturnAddrOp and FrameAddrOp that represent
__builtin_return_address and __builtin_frame_address and the respective
lowering to LLVM parts.

---------

Co-authored-by: Andy Kaylor <akaylor at nvidia.com>



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