diff options
| author | Brian Cain <bcain@codeaurora.org> | 2017-02-14 16:41:10 +0000 |
|---|---|---|
| committer | Brian Cain <bcain@codeaurora.org> | 2017-02-14 16:41:10 +0000 |
| commit | 6dedf65cc991451b5d18d28ef5ac4f308b6ed277 (patch) | |
| tree | 520934faabbade93970e0d21221e8070a188bab8 | |
| parent | 8adfc8ef3a8e7966484ba8596d1c5331493e4751 (diff) | |
| download | bcm5719-llvm-6dedf65cc991451b5d18d28ef5ac4f308b6ed277.tar.gz bcm5719-llvm-6dedf65cc991451b5d18d28ef5ac4f308b6ed277.zip | |
Correct a typo, s/hosting/hoisting/
llvm-svn: 295066
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 2 | ||||
| -rw-r--r-- | llvm/test/Other/optimization-remarks-invalidation.ll | 2 | ||||
| -rw-r--r-- | llvm/test/Transforms/LICM/opt-remarks.ll | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index 2035da02db0..5e3d28708b6 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/lib/Transforms/Scalar/LICM.cpp @@ -847,7 +847,7 @@ static bool hoist(Instruction &I, const DominatorTree *DT, const Loop *CurLoop, DEBUG(dbgs() << "LICM hoisting to " << Preheader->getName() << ": " << I << "\n"); ORE->emit(OptimizationRemark(DEBUG_TYPE, "Hoisted", &I) - << "hosting " << ore::NV("Inst", &I)); + << "hoisting " << ore::NV("Inst", &I)); // Metadata can be dependent on conditions we are hoisting above. // Conservatively strip all metadata on the instruction unless we were diff --git a/llvm/test/Other/optimization-remarks-invalidation.ll b/llvm/test/Other/optimization-remarks-invalidation.ll index 83a9ee042cf..4a9fbac15c8 100644 --- a/llvm/test/Other/optimization-remarks-invalidation.ll +++ b/llvm/test/Other/optimization-remarks-invalidation.ll @@ -53,7 +53,7 @@ Loop: %j = phi i32 [ 0, %Entry ], [ %Next, %Loop ] %addr = getelementptr i32, i32* %array, i32 %j %a = load i32, i32* %addr -; CHECK: remark: /tmp/kk.c:2:20: hosting load +; CHECK: remark: /tmp/kk.c:2:20: hoisting load %b = load i32, i32* %p, !dbg !8 %a2 = add i32 %a, %b store i32 %a2, i32* %addr diff --git a/llvm/test/Transforms/LICM/opt-remarks.ll b/llvm/test/Transforms/LICM/opt-remarks.ll index f0ef386c9f9..b44fc57131a 100644 --- a/llvm/test/Transforms/LICM/opt-remarks.ll +++ b/llvm/test/Transforms/LICM/opt-remarks.ll @@ -10,7 +10,7 @@ Loop: %j = phi i32 [ 0, %Entry ], [ %Next, %Loop ] %addr = getelementptr i32, i32* %array, i32 %j %a = load i32, i32* %addr -; CHECK: remark: /tmp/kk.c:2:20: hosting load +; CHECK: remark: /tmp/kk.c:2:20: hoisting load %b = load i32, i32* %p, !dbg !8 %a2 = add i32 %a, %b store i32 %a2, i32* %addr |

