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

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


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