[all-commits] [llvm/llvm-project] 3053a3: [MemorySSA] Relax assert condition in createDefine...
luxufan via All-commits
all-commits at lists.llvm.org
Thu Nov 17 07:43:41 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3053a323c734fa229ba47090b1fb59633ab1e7c6
https://github.com/llvm/llvm-project/commit/3053a323c734fa229ba47090b1fb59633ab1e7c6
Author: luxufan <luxufan at iscas.ac.cn>
Date: 2022-11-17 (Thu, 17 Nov 2022)
Changed paths:
M llvm/lib/Analysis/MemorySSA.cpp
A llvm/test/Transforms/SimpleLoopUnswitch/pr58719.ll
Log Message:
-----------
[MemorySSA] Relax assert condition in createDefinedAccess
If globals-aa is enabled, because of the deletion of memory instructions, there
may be call instruction that is not in ModOrRefSet but is a MemoryUseOrDef.
This causes the crash in the process of cloning uses and defs.
Fixes https://github.com/llvm/llvm-project/issues/58719
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D137553
More information about the All-commits
mailing list