[llvm] 325d95e - [test] Fix const-addr-no-neg-offset.ll under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 13 23:30:24 PST 2020


Author: Arthur Eubanks
Date: 2020-11-13T23:29:58-08:00
New Revision: 325d95e72d99a8fe12ff3514f9dbf957681f436b

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

LOG: [test] Fix const-addr-no-neg-offset.ll under NPM

Added: 
    

Modified: 
    llvm/test/Transforms/ConstantHoisting/ARM/const-addr-no-neg-offset.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/ConstantHoisting/ARM/const-addr-no-neg-offset.ll b/llvm/test/Transforms/ConstantHoisting/ARM/const-addr-no-neg-offset.ll
index 80428ad1cde2..f573668571d4 100644
--- a/llvm/test/Transforms/ConstantHoisting/ARM/const-addr-no-neg-offset.ll
+++ b/llvm/test/Transforms/ConstantHoisting/ARM/const-addr-no-neg-offset.ll
@@ -1,5 +1,6 @@
 ; RUN: opt -mtriple=arm-arm-none-eabi -consthoist -S < %s | FileCheck %s
-; RUN: opt -mtriple=arm-arm-none-eabi -consthoist -pgso -S < %s | FileCheck %s -check-prefix=PGSO
+; RUN: opt -mtriple=arm-arm-none-eabi -consthoist -pgso -S < %s -enable-new-pm=0 | FileCheck %s -check-prefix=PGSO
+; RUN: opt -mtriple=arm-arm-none-eabi -passes='require<profile-summary>,consthoist' -pgso -S < %s | FileCheck %s -check-prefix=PGSO
 ; RUN: opt -mtriple=arm-arm-none-eabi -consthoist -pgso=false -S < %s | FileCheck %s -check-prefix=NPGSO
 
 ; There are 
diff erent candidates here for the base constant: 1073876992 and


        


More information about the llvm-commits mailing list