[llvm] 9889261 - [Test] Add -lcssa run to force LI in GVN

Max Kazantsev via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 19 23:27:14 PDT 2021


Author: Max Kazantsev
Date: 2021-04-20T13:26:55+07:00
New Revision: 988926127b942ae94916cfb3ca57a15adce837ea

URL: https://github.com/llvm/llvm-project/commit/988926127b942ae94916cfb3ca57a15adce837ea
DIFF: https://github.com/llvm/llvm-project/commit/988926127b942ae94916cfb3ca57a15adce837ea.diff

LOG: [Test] Add -lcssa run to force LI in GVN

Added: 
    

Modified: 
    llvm/test/Transforms/GVN/PRE/pre-loop-load.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/GVN/PRE/pre-loop-load.ll b/llvm/test/Transforms/GVN/PRE/pre-loop-load.ll
index 6414dc4a25ca..3fb39650d8dd 100644
--- a/llvm/test/Transforms/GVN/PRE/pre-loop-load.ll
+++ b/llvm/test/Transforms/GVN/PRE/pre-loop-load.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -basic-aa -enable-load-pre -enable-pre -gvn -S < %s | FileCheck %s
+; RUN: opt -basic-aa -enable-load-pre -enable-pre -lcssa -gvn -S < %s | FileCheck %s
 
 declare void @side_effect() nofree
 declare i1 @side_effect_cond() nofree


        


More information about the llvm-commits mailing list