[Mlir-commits] [llvm] [mlir] [flang] Make MLIR Value more consistent in terms of `const` "correctness" (NFC) (PR #72765)
Jakub Kuderski
llvmlistbot at llvm.org
Mon Nov 20 07:35:07 PST 2023
================
@@ -289,8 +289,9 @@ inlineRegionImpl(InlinerInterface &interface, Region *src, Block *inlineBlock,
firstBlockTerminator->getOperands());
// Have the interface handle the terminator of this block.
- interface.handleTerminator(firstBlockTerminator,
- llvm::to_vector<6>(resultsToReplace));
+ interface.handleTerminator(
+ firstBlockTerminator,
+ MutableArrayRef<Value>{llvm::to_vector<6>(resultsToReplace)});
----------------
kuhar wrote:
Can't this take `resultsToReplace` now?
https://github.com/llvm/llvm-project/pull/72765
More information about the Mlir-commits
mailing list