forked from OSchip/llvm-project
[SystemZ] Return true from hasBitPreservingFPLogic().
This is currently NFC on benchmarks and tests. Review: Ulrich Weigand
This commit is contained in:
parent
fd229caa01
commit
9ee3f16919
|
@ -433,6 +433,10 @@ public:
|
|||
}
|
||||
bool isCheapToSpeculateCtlz() const override { return true; }
|
||||
bool preferZeroCompareBranch() const override { return true; }
|
||||
bool hasBitPreservingFPLogic(EVT VT) const override {
|
||||
EVT ScVT = VT.getScalarType();
|
||||
return ScVT == MVT::f32 || ScVT == MVT::f64 || ScVT == MVT::f128;
|
||||
}
|
||||
EVT getSetCCResultType(const DataLayout &DL, LLVMContext &,
|
||||
EVT) const override;
|
||||
bool isFMAFasterThanFMulAndFAdd(const MachineFunction &MF,
|
||||
|
|
Loading…
Reference in New Issue