Skip to content

Commit ada0bb9

Browse files
committed
Remove an unneeded check
1 parent 9a47421 commit ada0bb9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6502,13 +6502,11 @@ bool SITargetLowering::enableAggressiveFMAFusion(EVT VT) const {
65026502
// When fma is quarter rate, for f64 where add / sub are at best half rate,
65036503
// most of these combines appear to be cycle neutral but save on instruction
65046504
// count / code size.
6505-
return Subtarget->hasFastFMAF32() &&
6506-
!Subtarget->hasDisableAggressiveFMAFusion();
6505+
return !Subtarget->hasDisableAggressiveFMAFusion();
65076506
}
65086507

65096508
bool SITargetLowering::enableAggressiveFMAFusion(LLT Ty) const {
6510-
return Subtarget->hasFastFMAF32() &&
6511-
!Subtarget->hasDisableAggressiveFMAFusion();
6509+
return !Subtarget->hasDisableAggressiveFMAFusion();
65126510
}
65136511

65146512
EVT SITargetLowering::getSetCCResultType(const DataLayout &DL, LLVMContext &Ctx,

0 commit comments

Comments
 (0)