[WebAssembly] Implement isCheapToSpeculateCtlz and isCheapToSpeculateCttz.
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyISelLowering.h
index c79ffb29c25285952adca2c87a410c2f27048fe1..3621571151a1941bcb0981bccbf55e061744b6ef 100644 (file)
@@ -52,6 +52,8 @@ private:
   std::pair<unsigned, const TargetRegisterClass *>
   getRegForInlineAsmConstraint(const TargetRegisterInfo *TRI,
                                StringRef Constraint, MVT VT) const override;
+  bool isCheapToSpeculateCttz() const override;
+  bool isCheapToSpeculateCtlz() const override;
 
   SDValue LowerCall(CallLoweringInfo &CLI,
                     SmallVectorImpl<SDValue> &InVals) const override;