diff options
| author | vikhegde <vikram.hegde@amd.com> | 2025-11-21 11:16:19 +0530 |
|---|---|---|
| committer | vikhegde <vikram.hegde@amd.com> | 2025-11-21 11:16:19 +0530 |
| commit | 5b6073437b9847f1876b48afa3a7505c7904b6f1 (patch) | |
| tree | 8d6a5540ab238b5a835a5915101c33cef30e3eb6 | |
| parent | e1a745b13ea3c3784b67f25bd54a8c32334194f2 (diff) | |
clang-formatusers/vikramRH/npm/npm_siShrink_changed
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp index 0c25092e38cc..2f4ed9d97ecc 100644 --- a/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp +++ b/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp @@ -541,9 +541,11 @@ bool SIShrinkInstructions::shrinkMadFma(MachineInstr &MI) const { /// For AND or OR, try using S_BITSET{0,1} to clear or set bits. /// If the inverse of the immediate is legal, use ANDN2, ORN2 or /// XNOR (as a ^ b == ~(a ^ ~b)). -/// \param MoveIterator true if the caller should continue the machine function iterator. +/// \param MoveIterator true if the caller should continue the machine function +/// iterator. /// \return true if MI was modified. -bool SIShrinkInstructions::shrinkScalarLogicOp(MachineInstr &MI, bool &MoveIterator) const { +bool SIShrinkInstructions::shrinkScalarLogicOp(MachineInstr &MI, + bool &MoveIterator) const { unsigned Opc = MI.getOpcode(); const MachineOperand *Dest = &MI.getOperand(0); MachineOperand *Src0 = &MI.getOperand(1); @@ -1000,7 +1002,7 @@ bool SIShrinkInstructions::run(MachineFunction &MF) { MI.getOpcode() == AMDGPU::V_FMA_F16_gfx9_fake16_e64 || (MI.getOpcode() == AMDGPU::V_FMA_F64_e64 && ST->hasFmaakFmamkF64Insts())) { - Changed |= shrinkMadFma(MI); + Changed |= shrinkMadFma(MI); continue; } |
