Previously it reported an op had side-effects iff it declared that it
didn't have any side-effects. This had the undesirable result that
canonicalization would always delete any intrinsic calls that did memory
stores and returned void.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp | ||
---|---|---|
146 | Functional? return llvm::all_of(props, [] (const llvm::Record *r) { return (r->getName() != "IntrNoMem"); }; |
Functional?