From 735eac7c0bffd1c6ef0b92987bf72ff36cac9d11 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 9 Apr 2021 11:46:19 +0200 Subject: [PATCH] [FunctionAttrs] Force old pm in test so it doens't behave differently depending on the configuration setting for this flag --- llvm/test/Feature/OperandBundles/function-attrs.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/Feature/OperandBundles/function-attrs.ll b/llvm/test/Feature/OperandBundles/function-attrs.ll index 6b66c1a..4a27425 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 } -- 2.7.4