[PATCH] D88014: [LoopUnswitch] Trivial simplification: remove trivial dead condition after unswitch
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 18:48:59 PDT 2020
skatkov added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp:1156
+ if (ClonedConditionToErase)
+ RecursivelyDeleteTriviallyDeadInstructions(ClonedConditionToErase);
+
----------------
asbirlea wrote:
> `RecursivelyDeleteTriviallyDeadInstructions(ClonedConditionToErase, nullptr, MSSAU);`
Thanks, will do before landing.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88014/new/
https://reviews.llvm.org/D88014
More information about the llvm-commits
mailing list