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

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


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

  Changed paths:
    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