[all-commits] [llvm/llvm-project] 2cb065: [CIR] Use getDefiningOp<OpTy>() instead of dyn_cas...

Henrich Lauko via All-commits all-commits at lists.llvm.org
Fri Aug 1 10:19:01 PDT 2025


  Branch: refs/heads/users/xlauko/cir-typed-get-defining-ops
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cb065adabda6fa4b7eac5d481c5d8816ce854d2
      https://github.com/llvm/llvm-project/commit/2cb065adabda6fa4b7eac5d481c5d8816ce854d2
  Author: xlauko <xlauko at mail.muni.cz>
  Date:   2025-08-01 (Fri, 01 Aug 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/Address.h
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
    M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp

  Log Message:
  -----------
  [CIR] Use getDefiningOp<OpTy>() instead of dyn_cast<OpTy>(getDefiningOp()) (NFC)

This applies similar changes to llvm/llvm-project#150428



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