[clang] [CIR] Add invariant attribute to cir.load (PR #204283)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 00:18:43 PDT 2026
================
@@ -229,11 +229,12 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
}
cir::LoadOp createLoad(mlir::Location loc, mlir::Value ptr,
- bool isVolatile = false, uint64_t alignment = 0) {
+ bool isVolatile = false, uint64_t alignment = 0,
+ bool isInvariant = false) {
----------------
skc7 wrote:
Thanks for feedback. I've removed the isInvariant parameter from createLoad.
https://github.com/llvm/llvm-project/pull/204283
More information about the cfe-commits
mailing list