[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 932e8c3241
commit 9433bacc73
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