[llvm] [VPlan] Remove overlapping VPInstruction::mayWriteToMemory. NFCI (PR #120039)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 01:52:21 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.
----------------
lukel97 wrote:

Thanks, I've removed the TODO

https://github.com/llvm/llvm-project/pull/120039


More information about the llvm-commits mailing list