[llvm] [VPlan] Remove overlapping VPInstruction::mayWriteToMemory. NFCI (PR #120039)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 01:49:05 PST 2024
================
@@ -67,6 +67,8 @@ bool VPRecipeBase::mayWriteToMemory() const {
case VPInstruction::PtrAdd:
return false;
default:
+ // TODO: for calls, we can use attributes of the called function to rule
+ // out memory modifications.
----------------
fhahn wrote:
This is not really relevant, there won't be any calls there
https://github.com/llvm/llvm-project/pull/120039
More information about the llvm-commits
mailing list