[llvm] 735eac7 - [FunctionAttrs] Force old pm in test so it doens't behave differently depending on the configuration setting for this flag

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 9 02:47:54 PDT 2021


Author: Benjamin Kramer
Date: 2021-04-09T11:46:19+02:00
New Revision: 735eac7c0bffd1c6ef0b92987bf72ff36cac9d11

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

LOG: [FunctionAttrs] Force old pm in test so it doens't behave differently depending on the configuration setting for this flag

Added: 
    

Modified: 
    llvm/test/Feature/OperandBundles/function-attrs.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Feature/OperandBundles/function-attrs.ll b/llvm/test/Feature/OperandBundles/function-attrs.ll
index 6b66c1a9bc80..4a27425e922b 100644
--- a/llvm/test/Feature/OperandBundles/function-attrs.ll
+++ b/llvm/test/Feature/OperandBundles/function-attrs.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -function-attrs < %s | FileCheck %s
+; RUN: opt -S -function-attrs < %s -enable-new-pm=0 | FileCheck %s
 
 declare void @f_readonly() readonly
 declare void @f_readnone() readnone
@@ -33,4 +33,4 @@ define void @test_2(i32* %x) {
 }
 
 ; CHECK: attributes #2 = { nofree }
-
+; CHECK: attributes #3 = { nofree nosync }


        


More information about the llvm-commits mailing list