[llvm] [LV] Limits the splat operations be hoisted must not be defined by a recipe. (PR #117138)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 23:43:04 PST 2025


================
@@ -958,6 +965,10 @@ void VPlan::execute(VPTransformState *State) {
   State->CFG.PrevVPBB = nullptr;
   State->CFG.ExitBB = State->CFG.PrevBB->getSingleSuccessor();
 
+  // Update VPDominatorTree since VPBasicBlock may be removed after State wsa
+  // constucted.
----------------
arcbbb wrote:

some typos in the comment: wsa & constucted

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


More information about the llvm-commits mailing list