Fix test failures after r335306 due to the pipeline changing.

This wasn't obvious for the author to fix because this is the first
pipeline use of the magic utility to get function analyses within
a module pass in the lagecy pass manager. Turns out that has a bug which
prevents dumping the structure of the pipeline and shows up as an
unnamed pass.

I've just left a FIXME for that as it doesn't seem likely worth fixing
and certainly shouldn't hold up getting the bots green.

llvm-svn: 335314
This commit is contained in:
Chandler Carruth 2018-06-22 00:32:26 +00:00
parent adc94a8846
commit 0307d52bd7
3 changed files with 12 additions and 0 deletions

View File

@ -249,6 +249,10 @@
; CHECK-NEXT: Strip Unused Function Prototypes
; CHECK-NEXT: Dead Global Elimination
; CHECK-NEXT: Merge Duplicate Global Constants
; CHECK-NEXT: CGProfilePass
; FIXME: This pass uses the magic "on-demand function analysis" feature of the
; legacy pass manager and doesn't correctly print pass names.
; CHECK-NEXT: Unnamed pass
; CHECK-NEXT: FunctionPass Manager
; CHECK-NEXT: Dominator Tree Construction
; CHECK-NEXT: Natural Loop Information

View File

@ -253,6 +253,10 @@
; CHECK-NEXT: Strip Unused Function Prototypes
; CHECK-NEXT: Dead Global Elimination
; CHECK-NEXT: Merge Duplicate Global Constants
; CHECK-NEXT: CGProfilePass
; FIXME: This pass uses the magic "on-demand function analysis" feature of the
; legacy pass manager and doesn't correctly print pass names.
; CHECK-NEXT: Unnamed pass
; CHECK-NEXT: FunctionPass Manager
; CHECK-NEXT: Dominator Tree Construction
; CHECK-NEXT: Natural Loop Information

View File

@ -235,6 +235,10 @@
; CHECK-NEXT: Strip Unused Function Prototypes
; CHECK-NEXT: Dead Global Elimination
; CHECK-NEXT: Merge Duplicate Global Constants
; CHECK-NEXT: CGProfilePass
; FIXME: This pass uses the magic "on-demand function analysis" feature of the
; legacy pass manager and doesn't correctly print pass names.
; CHECK-NEXT: Unnamed pass
; CHECK-NEXT: FunctionPass Manager
; CHECK-NEXT: Dominator Tree Construction
; CHECK-NEXT: Natural Loop Information