summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/R600ISelLowering.h
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-09-12 23:44:44 +0000
committerVincent Lejeune <vljn@ovi.com>2013-09-12 23:44:44 +0000
commitab3baf80a865196b7e3a7da6a0ed8f7b7bdf47fc (patch)
tree61d4d7cf5192d427103a8637d8b4cd37caead5b7 /llvm/lib/Target/R600/R600ISelLowering.h
parentf70d60404dd8f3fc428daeb0e0c24f1613282020 (diff)
downloadbcm5719-llvm-ab3baf80a865196b7e3a7da6a0ed8f7b7bdf47fc.tar.gz
bcm5719-llvm-ab3baf80a865196b7e3a7da6a0ed8f7b7bdf47fc.zip
R600: Move fabs/fneg/sel folding logic into PostProcessIsel
This move makes possible to correctly handle multiples instructions from a single pattern. llvm-svn: 190643
Diffstat (limited to 'llvm/lib/Target/R600/R600ISelLowering.h')
-rw-r--r--llvm/lib/Target/R600/R600ISelLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/R600ISelLowering.h b/llvm/lib/Target/R600/R600ISelLowering.h
index 811850d1847..6457ad42ea6 100644
--- a/llvm/lib/Target/R600/R600ISelLowering.h
+++ b/llvm/lib/Target/R600/R600ISelLowering.h
@@ -67,6 +67,7 @@ private:
void getStackAddress(unsigned StackWidth, unsigned ElemIdx,
unsigned &Channel, unsigned &PtrIncr) const;
bool isZero(SDValue Op) const;
+ virtual SDNode *PostISelFolding(MachineSDNode *N, SelectionDAG &DAG) const;
};
} // End namespace llvm;
OpenPOWER on IntegriCloud