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

Henrich Lauko via All-commits all-commits at lists.llvm.org
Fri Aug 1 07:58:31 PDT 2025


  Branch: refs/heads/users/xlauko/cir-typed-get-defining-ops
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c9856c1e51757f4a143076c47c64b3e9d2e0363
      https://github.com/llvm/llvm-project/commit/1c9856c1e51757f4a143076c47c64b3e9d2e0363
  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