[llvm] dfe67f4 - [test] Fix globalaa-retained.ll under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 14:25:29 PST 2020


Author: Arthur Eubanks
Date: 2020-11-19T14:24:46-08:00
New Revision: dfe67f450ef60ce7bd3528b3e2d4326e6ac598ea

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

LOG: [test] Fix globalaa-retained.ll under NPM

Just '-O2' didn't run the full AA pipeline under NPM.

Added: 
    

Modified: 
    llvm/test/Transforms/PhaseOrdering/globalaa-retained.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/PhaseOrdering/globalaa-retained.ll b/llvm/test/Transforms/PhaseOrdering/globalaa-retained.ll
index 47b8e4d7a9ed..ac8a83cc000f 100644
--- a/llvm/test/Transforms/PhaseOrdering/globalaa-retained.ll
+++ b/llvm/test/Transforms/PhaseOrdering/globalaa-retained.ll
@@ -1,4 +1,5 @@
-; RUN: opt -O3 -S < %s | FileCheck %s
+; RUN: opt -O3 -S < %s -enable-new-pm=0 | FileCheck %s
+; RUN: opt -aa-pipeline=default -passes='default<O3>' -S < %s | FileCheck %s
 target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
 target triple = "aarch64"
 


        


More information about the llvm-commits mailing list