[all-commits] [llvm/llvm-project] 01c0cb: [CIR] Upstream pointer subtraction handling (#163306)

Shawn K via All-commits all-commits at lists.llvm.org
Thu Oct 16 12:53:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01c0cb928a2e9df72fd68942143bf5d4041d38ed
      https://github.com/llvm/llvm-project/commit/01c0cb928a2e9df72fd68942143bf5d4041d38ed
  Author: Shawn K <kimshawn02 at icloud.com>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    A clang/test/CIR/CodeGen/ptrdiff.c
    A clang/test/CIR/CodeGen/ptrdiff.cpp

  Log Message:
  -----------
  [CIR] Upstream pointer subtraction handling (#163306)

This upstreams the CIR handling for pointer subtraction, including introducing the cir.ptr_diff operation.

Fixes #162360



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