summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2018-06-22 00:32:26 +0000
committerChandler Carruth <chandlerc@gmail.com>2018-06-22 00:32:26 +0000
commit0307d52bd7b28d562a286825624feac84a230455 (patch)
tree3eeed0c79c459d22adb9cd7f769267b2c23737a2
parentadc94a8846c63300874ef164c8f84c034ef7d7c2 (diff)
downloadbcm5719-llvm-0307d52bd7b28d562a286825624feac84a230455.tar.gz
bcm5719-llvm-0307d52bd7b28d562a286825624feac84a230455.zip
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
-rw-r--r--llvm/test/Other/opt-O2-pipeline.ll4
-rw-r--r--llvm/test/Other/opt-O3-pipeline.ll4
-rw-r--r--llvm/test/Other/opt-Os-pipeline.ll4
3 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/Other/opt-O2-pipeline.ll b/llvm/test/Other/opt-O2-pipeline.ll
index 96d9f22cc01..17574abba34 100644
--- a/llvm/test/Other/opt-O2-pipeline.ll
+++ b/llvm/test/Other/opt-O2-pipeline.ll
@@ -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
diff --git a/llvm/test/Other/opt-O3-pipeline.ll b/llvm/test/Other/opt-O3-pipeline.ll
index fc9f4fd6b31..ab62dc96397 100644
--- a/llvm/test/Other/opt-O3-pipeline.ll
+++ b/llvm/test/Other/opt-O3-pipeline.ll
@@ -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
diff --git a/llvm/test/Other/opt-Os-pipeline.ll b/llvm/test/Other/opt-Os-pipeline.ll
index 206a20a598e..6e008a9be19 100644
--- a/llvm/test/Other/opt-Os-pipeline.ll
+++ b/llvm/test/Other/opt-Os-pipeline.ll
@@ -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
OpenPOWER on IntegriCloud