mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 23:51:56 +00: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
932e8c3241
commit
9433bacc73
@ -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