]> granicus.if.org Git - llvm/commitdiff
Correct a typo, s/hosting/hoisting/
authorBrian Cain <bcain@codeaurora.org>
Tue, 14 Feb 2017 16:41:10 +0000 (16:41 +0000)
committerBrian Cain <bcain@codeaurora.org>
Tue, 14 Feb 2017 16:41:10 +0000 (16:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295066 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LICM.cpp
test/Other/optimization-remarks-invalidation.ll
test/Transforms/LICM/opt-remarks.ll

index 2035da02db0bd4d16c1d84581f896d2537d86683..5e3d28708b682663ec09a5a20e209199b1908bf7 100644 (file)
@@ -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
index 83a9ee042cf69985a89ffa7509d5eb10fe59ae17..4a9fbac15c8a9689453bba3e0f47a68764168bd2 100644 (file)
@@ -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
index f0ef386c9f9a2a88829f69a6dab15279b686d766..b44fc57131a59dc0729076a4fedf5282debcda1b 100644 (file)
@@ -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