summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2021-04-09 11:46:19 +0200
committerBenjamin Kramer <benny.kra@googlemail.com>2021-04-09 11:46:19 +0200
commit735eac7c0bffd1c6ef0b92987bf72ff36cac9d11 (patch)
tree22cc85669ec332819d7ccb27e492a4e7a7129e80
parentbaf17e2cc97e9832f0fe3c097a8ac8f682d7d7b2 (diff)
downloadllvm-735eac7c0bffd1c6ef0b92987bf72ff36cac9d11.tar.gz
[FunctionAttrs] Force old pm in test so it doens't behave differently depending on the configuration setting for this flag
-rw-r--r--llvm/test/Feature/OperandBundles/function-attrs.ll4
1 files changed, 2 insertions, 2 deletions
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 }