1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

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

This commit is contained in:
Benjamin Kramer 2021-04-09 11:46:19 +02:00
parent 0d71c82fc6
commit 244ec3b057

View 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 }