1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

[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 697f7d90b2
commit af3a851dc4

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,