[all-commits] [llvm/llvm-project] 0eda45: [SimpleLoopUnswitch] Don't non-trivially unswitch ...
aeubanks via All-commits
all-commits at lists.llvm.org
Mon Feb 8 13:19:51 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0eda4547969e0f5c12af6b4e26afd34ff8c95015
https://github.com/llvm/llvm-project/commit/0eda4547969e0f5c12af6b4e26afd34ff8c95015
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2021-02-08 (Mon, 08 Feb 2021)
Changed paths:
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
A llvm/test/Transforms/SimpleLoopUnswitch/not-safe-to-clone.ll
Log Message:
-----------
[SimpleLoopUnswitch] Don't non-trivially unswitch loops that are unsafe to clone
Non-trivial unswitching can clone loops.
The legacy -loop-unswitch pass also checks for this.
Fixes PR49085.
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D96288
More information about the All-commits
mailing list