From cd2aa0d2e45cc4159c73daeed0ae7d4ae4c040a3 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Wed, 24 May 2017 17:55:25 +0000 Subject: [PATCH] Fix a couple of typos in memory intrinsic optimization output (NFC) s/instrinsic/intrinsic llvm-svn: 303782 --- llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp | 2 +- llvm/test/tools/llvm-profdata/memop-size-prof.proftext | 2 +- llvm/tools/llvm-profdata/llvm-profdata.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp index 990bcec..1e30dbf 100644 --- a/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp +++ b/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp @@ -180,7 +180,7 @@ static cl::opt static cl::opt PGOInstrMemOP("pgo-instr-memop", cl::init(true), cl::Hidden, cl::desc("Use this option to turn on/off " - "memory instrinsic size profiling.")); + "memory intrinsic size profiling.")); // Command line option to turn on CFG dot dump after profile annotation. // Defined in Analysis/BlockFrequencyInfo.cpp: -pgo-view-counts diff --git a/llvm/test/tools/llvm-profdata/memop-size-prof.proftext b/llvm/test/tools/llvm-profdata/memop-size-prof.proftext index 882fc1e..79dc0f8 100644 --- a/llvm/test/tools/llvm-profdata/memop-size-prof.proftext +++ b/llvm/test/tools/llvm-profdata/memop-size-prof.proftext @@ -67,7 +67,7 @@ ic2:20000 7:33 8:22 -#MEMOP: Memory Instrinsic Size Results: +#MEMOP: Memory Intrinsic Size Results: #MEMOP-NEXT: [ 0, 1, 99 ] #MEMOP-NEXT: [ 0, 2, 88 ] #MEMOP-NEXT: [ 0, 3, 77 ] diff --git a/llvm/tools/llvm-profdata/llvm-profdata.cpp b/llvm/tools/llvm-profdata/llvm-profdata.cpp index a257910..4867acf7 100644 --- a/llvm/tools/llvm-profdata/llvm-profdata.cpp +++ b/llvm/tools/llvm-profdata/llvm-profdata.cpp @@ -572,7 +572,7 @@ static int showInstrProfile(const std::string &Filename, bool ShowCounts, } if (ShowMemOPSizes && NumMemOPCalls > 0) { - OS << " Memory Instrinsic Size Results:\n"; + OS << " Memory Intrinsic Size Results:\n"; traverseAllValueSites(Func, IPVK_MemOPSize, VPStats[IPVK_MemOPSize], OS, nullptr); } -- 2.7.4