[PowerPC] [NFC] fix wording typos

Post commit comments address for D92071.
This commit is contained in:
Chen Zheng 2021-02-02 21:01:19 -05:00
parent 608ee55a31
commit b0869a7d72
1 changed files with 2 additions and 2 deletions

View File

@ -344,7 +344,7 @@ int16_t PPCInstrInfo::getFMAOpIdxInfo(unsigned Opcode) const {
//
// 2: Reduce register pressure.
// Try to reassociate FMA with FSUB and a constant like below:
// C is a floatint point const.
// C is a floating point const.
//
// Pattern 1:
// A = FSUB X, Y (Leaf)
@ -362,7 +362,7 @@ int16_t PPCInstrInfo::getFMAOpIdxInfo(unsigned Opcode) const {
//
// Before the transformation, A must be assigned with different hardware
// register with D. After the transformation, A and D must be assigned with
// same hardware register due to TIE attricute of FMA instructions.
// same hardware register due to TIE attribute of FMA instructions.
//
bool PPCInstrInfo::getFMAPatterns(
MachineInstr &Root, SmallVectorImpl<MachineCombinerPattern> &Patterns,