[PATCH] D99354: [SimpleLoopUnswitch] Port partially invariant unswitch from LoopUnswitch to SimpleLoopUnswitch
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 29 02:47:02 PDT 2021
lebedev.ri added inline comments.
================
Comment at: llvm/test/Transforms/SimpleLoopUnswitch/partial-unswitch.ll:1
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -passes='loop-mssa(unswitch<nontrivial>),verify<loops>' -S < %s | FileCheck %s
----------------
jaykang10 wrote:
> lebedev.ri wrote:
> > Precommit this?
> Sorry... This test file is a copy of `test/Transforms/LoopUnswitch/partial-unswitch.ll` using SimpleLoopUnswitch. The output of SimpleLoopUnswitch is slightly different with LoopUnswitch one so I have run the script to generate assertion. I have checked the each tests' output. If it is not good to use the script, I will add the assertions manually. Please let me know.
No i mean, just commit this test file as-is, obviously after regenerating the check lines to pass on main.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99354/new/
https://reviews.llvm.org/D99354
More information about the llvm-commits
mailing list