[llvm] 6bdaf5e - Remove a -O2 usage from a CSE specific test file

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 13 10:33:35 PDT 2021


Author: Philip Reames
Date: 2021-04-13T10:29:36-07:00
New Revision: 6bdaf5e3413f74b88898d9524fede3b0573ba083

URL: https://github.com/llvm/llvm-project/commit/6bdaf5e3413f74b88898d9524fede3b0573ba083
DIFF: https://github.com/llvm/llvm-project/commit/6bdaf5e3413f74b88898d9524fede3b0573ba083.diff

LOG: Remove a -O2 usage from a CSE specific test file

Given this is checking attributes, there are a bunch of valid ways that O2 can infer attributes that CSE will not.

Added: 
    

Modified: 
    llvm/test/Other/invariant.group.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Other/invariant.group.ll b/llvm/test/Other/invariant.group.ll
index 8c31f902120c7..3adb1bc93d192 100644
--- a/llvm/test/Other/invariant.group.ll
+++ b/llvm/test/Other/invariant.group.ll
@@ -1,7 +1,6 @@
 ; RUN: opt -S -early-cse -earlycse-debug-hash < %s | FileCheck %s
 ; RUN: opt -S -gvn < %s | FileCheck %s
 ; RUN: opt -S -newgvn < %s | FileCheck %s
-; RUN: opt -S -O3 < %s | FileCheck %s
 
 ; These tests checks if passes with CSE functionality can do CSE on
 ; launder.invariant.group, that is prohibited if there is a memory clobber


        


More information about the llvm-commits mailing list