From 7dab9bfe3016988a518ea5868cbf0457d335a356 Mon Sep 17 00:00:00 2001 From: Hiroshi Inoue Date: Fri, 30 Jun 2017 09:11:50 +0000 Subject: [PATCH] fix trivial typos, NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306808 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsDelaySlotFiller.cpp | 2 +- test/Transforms/InstCombine/and-or-not.ll | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/Mips/MipsDelaySlotFiller.cpp b/lib/Target/Mips/MipsDelaySlotFiller.cpp index 5d82571ff94..4a34e3101cb 100644 --- a/lib/Target/Mips/MipsDelaySlotFiller.cpp +++ b/lib/Target/Mips/MipsDelaySlotFiller.cpp @@ -564,7 +564,7 @@ Iter Filler::replaceWithCompactBranch(MachineBasicBlock &MBB, Iter Branch, // For given opcode returns opcode of corresponding instruction with short // delay slot. -// For the pseudo TAILCALL*_MM instrunctions return the short delay slot +// For the pseudo TAILCALL*_MM instructions return the short delay slot // form. Unfortunately, TAILCALL<->b16 is denied as b16 has a limited range // that is too short to make use of for tail calls. static int getEquivalentCallShort(int Opcode) { diff --git a/test/Transforms/InstCombine/and-or-not.ll b/test/Transforms/InstCombine/and-or-not.ll index 16a23acb400..1baecb4a13a 100644 --- a/test/Transforms/InstCombine/and-or-not.ll +++ b/test/Transforms/InstCombine/and-or-not.ll @@ -518,7 +518,7 @@ define i64 @PR32830(i64 %a, i64 %b, i64 %c) { } ; (~a | b) & (~b | a) --> ~(a ^ b) -; TODO: this increases instrunction count if the pieces have additional users +; TODO: this increases instruction count if the pieces have additional users define i32 @and_to_nxor_multiuse(float %fa, float %fb) { ; CHECK-LABEL: @and_to_nxor_multiuse( ; CHECK-NEXT: [[A:%.*]] = fptosi float [[FA:%.*]] to i32 @@ -545,7 +545,7 @@ define i32 @and_to_nxor_multiuse(float %fa, float %fb) { } ; (a & b) | ~(a | b) --> ~(a ^ b) -; TODO: this increases instrunction count if the pieces have additional users +; TODO: this increases instruction count if the pieces have additional users define i32 @or_to_nxor_multiuse(i32 %a, i32 %b) { ; CHECK-LABEL: @or_to_nxor_multiuse( ; CHECK-NEXT: [[AND:%.*]] = and i32 [[A:%.*]], [[B:%.*]] -- 2.11.0