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

[test] Fix some func-attrs tests under the legacy PM

The new PM doesn't visit declarations in CGSCC passes. These tests
aren't testing that detail, so just run them against the new PM.
This commit is contained in:
Arthur Eubanks 2021-04-27 13:06:32 -07:00
parent a7d424d173
commit 08189b14ea
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,4 @@
; RUN: opt < %s -tbaa -basic-aa -function-attrs -S | FileCheck %s
; RUN: opt < %s -aa-pipeline=tbaa,basic-aa -passes=function-attrs -S | FileCheck %s
; FunctionAttrs should make use of TBAA.

View File

@ -1,4 +1,3 @@
; RUN: opt < %s -basic-aa -function-attrs -S | FileCheck %s
; RUN: opt < %s -aa-pipeline=basic-aa -passes=function-attrs -S | FileCheck %s
; CHECK: define i32 @f() #0