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:
parent
a7d424d173
commit
08189b14ea
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user