[llvm] 9196908 - [Test] Move test for D143726 to LICM

Max Kazantsev via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 01:43:47 PST 2023


Author: Max Kazantsev
Date: 2023-02-20T16:43:39+07:00
New Revision: 9196908bc2c080b987326fdf1d9d8bfcac5c402d

URL: https://github.com/llvm/llvm-project/commit/9196908bc2c080b987326fdf1d9d8bfcac5c402d
DIFF: https://github.com/llvm/llvm-project/commit/9196908bc2c080b987326fdf1d9d8bfcac5c402d.diff

LOG: [Test] Move test for D143726 to LICM

Seems that it's a more appropriate place to do this transform.

Added: 
    llvm/test/Transforms/LICM/min_max.ll

Modified: 
    

Removed: 
    llvm/test/Transforms/LoopInstSimplify/loop_invariant.ll


################################################################################
diff  --git a/llvm/test/Transforms/LoopInstSimplify/loop_invariant.ll b/llvm/test/Transforms/LICM/min_max.ll
similarity index 99%
rename from llvm/test/Transforms/LoopInstSimplify/loop_invariant.ll
rename to llvm/test/Transforms/LICM/min_max.ll
index 665861f643fb..0eeef1880c89 100644
--- a/llvm/test/Transforms/LoopInstSimplify/loop_invariant.ll
+++ b/llvm/test/Transforms/LICM/min_max.ll
@@ -1,6 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S %s -passes=loop-instsimplify | FileCheck %s
-; RUN: opt -S %s -passes='loop-mssa(loop-instsimplify)' -verify-memoryssa | FileCheck %s
+; RUN: opt -S %s -passes='loop-mssa(licm)'  -verify-memoryssa  | FileCheck %s
 
 ; TODO: turn to %iv <u umin(inv_1, inv_2) and hoist it out of loop.
 define i32 @test_ult(i32 %start, i32 %inv_1, i32 %inv_2) {


        


More information about the llvm-commits mailing list