namespace WebAssemblyISD {
-enum {
+enum NodeType : unsigned {
FIRST_NUMBER = ISD::BUILTIN_OP_END,
RETURN,
ARGUMENT,
/// right decision when generating code for different targets.
const WebAssemblySubtarget *Subtarget;
+ MVT getScalarShiftAmountTy(const DataLayout &DL, EVT) const override;
+
+ const char *getTargetNodeName(unsigned Opcode) const override;
+
bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
bool isVarArg,
const SmallVectorImpl<ISD::OutputArg> &Outs,