mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 04:29:42 +00:00
[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…
x
Reference in New Issue
Block a user