[all-commits] [llvm/llvm-project] feb2ab: [SimpleLoopUnswitch] Fix an assert in injectPendin...
serguei-katkov via All-commits
all-commits at lists.llvm.org
Sun Feb 19 22:27:40 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: feb2ab97e8f047a4ab52bb1798e12ef8d1dd0dbf
https://github.com/llvm/llvm-project/commit/feb2ab97e8f047a4ab52bb1798e12ef8d1dd0dbf
Author: Serguei Katkov <serguei.katkov at azul.com>
Date: 2023-02-20 (Mon, 20 Feb 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/test/Transforms/SimpleLoopUnswitch/inject-invariant-conditions.ll
Log Message:
-----------
[SimpleLoopUnswitch] Fix an assert in injectPendingInvariantConditions
Since canonicalizeForInvariantConditionInjection is introduced the
in loop successor may be the second successor.
Reviewed By: mkazantsev
Differential Revision: https://reviews.llvm.org/D144361
More information about the All-commits
mailing list