[PATCH] D54916: Add new passes to X86 pipeline tests

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 26 14:14:33 PST 2018


mtrofin created this revision.
mtrofin added a reviewer: davidxl.
Herald added a subscriber: llvm-commits.

Fixes test failures introduced by rL347596 <https://reviews.llvm.org/rL347596>.


Repository:
  rL LLVM

https://reviews.llvm.org/D54916

Files:
  lib/Target/X86/X86DiscriminateMemOps.cpp
  lib/Target/X86/X86InsertPrefetch.cpp
  test/CodeGen/X86/O0-pipeline.ll
  test/CodeGen/X86/O3-pipeline.ll


Index: test/CodeGen/X86/O3-pipeline.ll
===================================================================
--- test/CodeGen/X86/O3-pipeline.ll
+++ test/CodeGen/X86/O3-pipeline.ll
@@ -159,6 +159,8 @@
 ; CHECK-NEXT:       X86 Atom pad short functions
 ; CHECK-NEXT:       X86 LEA Fixup
 ; CHECK-NEXT:       Compressing EVEX instrs to VEX encoding when possible
+; CHECK-NEXT:       X86 Discriminate Memory Operands
+; CHECK-NEXT:       X86 Insert Cache Prefetches
 ; CHECK-NEXT:       Contiguously Lay Out Funclets
 ; CHECK-NEXT:       StackMap Liveness Analysis
 ; CHECK-NEXT:       Live DEBUG_VALUE analysis
Index: test/CodeGen/X86/O0-pipeline.ll
===================================================================
--- test/CodeGen/X86/O0-pipeline.ll
+++ test/CodeGen/X86/O0-pipeline.ll
@@ -58,6 +58,8 @@
 ; CHECK-NEXT:       Shadow Call Stack
 ; CHECK-NEXT:       X86 Indirect Branch Tracking
 ; CHECK-NEXT:       X86 vzeroupper inserter
+; CHECK-NEXT:       X86 Discriminate Memory Operands
+; CHECK-NEXT:       X86 Insert Cache Prefetches
 ; CHECK-NEXT:       Contiguously Lay Out Funclets
 ; CHECK-NEXT:       StackMap Liveness Analysis
 ; CHECK-NEXT:       Live DEBUG_VALUE analysis
Index: lib/Target/X86/X86InsertPrefetch.cpp
===================================================================
--- lib/Target/X86/X86InsertPrefetch.cpp
+++ lib/Target/X86/X86InsertPrefetch.cpp
@@ -54,6 +54,9 @@
 public:
   static char ID;
   X86InsertPrefetch(const std::string &PrefetchHintsFilename);
+  StringRef getPassName() const override {
+    return "X86 Insert Cache Prefetches";
+  }
 
 private:
   std::string Filename;
Index: lib/Target/X86/X86DiscriminateMemOps.cpp
===================================================================
--- lib/Target/X86/X86DiscriminateMemOps.cpp
+++ lib/Target/X86/X86DiscriminateMemOps.cpp
@@ -41,6 +41,9 @@
 
 class X86DiscriminateMemOps : public MachineFunctionPass {
   bool runOnMachineFunction(MachineFunction &MF) override;
+  StringRef getPassName() const override {
+    return "X86 Discriminate Memory Operands";
+  }
 
 public:
   static char ID;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54916.175339.patch
Type: text/x-patch
Size: 2094 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181126/568a526c/attachment.bin>


More information about the llvm-commits mailing list