[all-commits] [llvm/llvm-project] 9291ad: [CIR] Add support for __builtin_expect (#144726)

Sirui Mu via All-commits all-commits at lists.llvm.org
Tue Jun 24 10:17:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9291ad1c96918e3c53d6e7f0affd7b258bdaa4bd
      https://github.com/llvm/llvm-project/commit/9291ad1c96918e3c53d6e7f0affd7b258bdaa4bd
  Author: Sirui Mu <msrlancern at gmail.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

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

  Log Message:
  -----------
  [CIR] Add support for __builtin_expect (#144726)

This patch adds support for the `__builtin_expect` and
`__builtin_expect_with_probability` builtin functions.



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