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

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


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