[FunctionAttrs] Force old pm in test so it doens't behave differently depending on...
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 9 Apr 2021 09:46:19 +0000 (11:46 +0200)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 9 Apr 2021 09:46:19 +0000 (11:46 +0200)
llvm/test/Feature/OperandBundles/function-attrs.ll

index 6b66c1a..4a27425 100644 (file)
@@ -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 }