[llvm-branch-commits] [llvm] release/19.x: [LICM] allow MemoryAccess creation failure (#116813) (PR #117082)
Nikita Popov via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Nov 21 00:56:50 PST 2024
================
@@ -190,7 +190,8 @@ class MemorySSAUpdater {
/// inaccessible and it *must* have removeMemoryAccess called on it.
MemoryAccess *createMemoryAccessInBB(Instruction *I, MemoryAccess *Definition,
const BasicBlock *BB,
- MemorySSA::InsertionPlace Point);
+ MemorySSA::InsertionPlace Point,
+ bool CreationMustSucceed = true);
----------------
nikic wrote:
This is an ABI-breaking change. Instead of an optional argument, you need to add two functions and forward one to the other.
https://github.com/llvm/llvm-project/pull/117082
More information about the llvm-branch-commits
mailing list