[all-commits] [llvm/llvm-project] 231217: [CIR] Simplify ConstantOp accesses and its getDefi...
Henrich Lauko via All-commits
all-commits at lists.llvm.org
Fri Aug 1 11:06:13 PDT 2025
Branch: refs/heads/users/xlauko/cir-constant-op-accesses
Home: https://github.com/llvm/llvm-project
Commit: 23121724bf565468a2c0e632a24ce48054ecd31e
https://github.com/llvm/llvm-project/commit/23121724bf565468a2c0e632a24ce48054ecd31e
Author: xlauko <xlauko at mail.muni.cz>
Date: 2025-08-01 (Fri, 01 Aug 2025)
Changed paths:
M clang/include/clang/CIR/Dialect/IR/CIROps.td
M clang/lib/CIR/CodeGen/CIRGenClass.cpp
M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
M clang/lib/CIR/Dialect/IR/CIRDialect.cpp
M clang/lib/CIR/Dialect/Transforms/CIRSimplify.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
Log Message:
-----------
[CIR] Simplify ConstantOp accesses and its getDefiningOp
- Replaces dyn_cast<cir::ConstantOp>(v.getDefiningOp()) and similar with v.getDefiningOp<cir::ConstantOp>()
- Adds `getValueAttr`, `getIntValue` and `getBoolValue` methods to ConstantOp
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