Skip to content

Commit e8370cd

Browse files
committed
[TargetOptions] Remove UnsafeFPMath use in HonorSignDependentRoundingFPMath
1 parent 32baec4 commit e8370cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/TargetOptionsImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ bool TargetOptions::FramePointerIsReserved(const MachineFunction &MF) const {
5151
/// HonorSignDependentRoundingFPMath - Return true if the codegen must assume
5252
/// that the rounding mode of the FPU can change from its default.
5353
bool TargetOptions::HonorSignDependentRoundingFPMath() const {
54-
return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption;
54+
return HonorSignDependentRoundingFPMathOption;
5555
}
5656

5757
/// NOTE: There are targets that still do not support the debug entry values

0 commit comments

Comments
 (0)