AMDGPU/SI: select S_ABS_I32 when possible (v2)
[oota-llvm.git] / lib / Target / AMDGPU / SIInstrInfo.h
index 7fcf723af22dcd88807c3aa1619973b19d33f324..2bce87f3bd06f5b813fe1056d6d400abb6e9fe70 100644 (file)
@@ -41,6 +41,9 @@ private:
 
   void swapOperands(MachineBasicBlock::iterator Inst) const;
 
+  void lowerScalarAbs(SmallVectorImpl<MachineInstr *> &Worklist,
+                      MachineInstr *Inst) const;
+
   void splitScalar64BitUnaryOp(SmallVectorImpl<MachineInstr *> &Worklist,
                                MachineInstr *Inst, unsigned Opcode) const;