diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2019-01-09 05:11:10 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2019-01-09 05:11:10 +0000 |
commit | dad8c6a1c9a32aea5c468f86c119c0dd244c164f (patch) | |
tree | 13466959a59faa0a8b64e3c53660425559612ac0 /llvm/lib/CodeGen/IfConversion.cpp | |
parent | 17f10abe1a3f23a28ce13c1647e19196a76adb32 (diff) | |
download | bcm5719-llvm-dad8c6a1c9a32aea5c468f86c119c0dd244c164f.tar.gz bcm5719-llvm-dad8c6a1c9a32aea5c468f86c119c0dd244c164f.zip |
[NFC] fix trivial typos in comments
llvm-svn: 350690
Diffstat (limited to 'llvm/lib/CodeGen/IfConversion.cpp')
-rw-r--r-- | llvm/lib/CodeGen/IfConversion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp index 5666626ab31..ceeba639ee0 100644 --- a/llvm/lib/CodeGen/IfConversion.cpp +++ b/llvm/lib/CodeGen/IfConversion.cpp @@ -1444,7 +1444,7 @@ bool IfConverter::IfConvertSimple(BBInfo &BBI, IfcvtKind Kind) { Redefs.init(*TRI); if (MRI->tracksLiveness()) { - // Initialize liveins to the first BB. These are potentiall redefined by + // Initialize liveins to the first BB. These are potentially redefined by // predicated instructions. Redefs.addLiveIns(CvtMBB); Redefs.addLiveIns(NextMBB); @@ -2148,7 +2148,7 @@ void IfConverter::MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI, bool AddEdges) { // Calculate the edge probability for the edge from ToBBI.BB to Succ, // which is a portion of the edge probability from FromMBB to Succ. The // portion ratio is the edge probability from ToBBI.BB to FromMBB (if - // FromBBI is a successor of ToBBI.BB. See comment below for excepion). + // FromBBI is a successor of ToBBI.BB. See comment below for exception). NewProb = MBPI->getEdgeProbability(&FromMBB, Succ); // To2FromProb is 0 when FromMBB is not a successor of ToBBI.BB. This |