[Mlir-commits] [mlir] [mlir][LLVM] Add disjoint flag (PR #115855)
Tobias Gysi
llvmlistbot at llvm.org
Tue Nov 12 05:03:24 PST 2024
=?utf-8?q?Léon?= Frenot <leon.frenot at ens-lyon.fr>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/115855 at github.com>
================
@@ -1898,6 +1898,13 @@ void ModuleTranslation::setLoopMetadata(Operation *op,
inst->setMetadata(llvm::LLVMContext::MD_loop, loopMD);
}
+void ModuleTranslation::setDisjointFlag(Operation *op, llvm::Value *inst) {
----------------
gysit wrote:
```suggestion
void ModuleTranslation::setDisjointFlag(Operation *op, llvm::Instruction *inst) {
```
just saw this. Can this be llvm::Instruction as well. Otherwise we should probably rename inst to value or so?
https://github.com/llvm/llvm-project/pull/115855
More information about the Mlir-commits
mailing list