summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/R600ISelLowering.h
diff options
context:
space:
mode:
authorMichel Danzer <michel.daenzer@amd.com>2013-03-22 14:09:10 +0000
committerMichel Danzer <michel.daenzer@amd.com>2013-03-22 14:09:10 +0000
commita2e28156b4c5b1c35f2a242c07b2251fa9550b34 (patch)
tree0a34a513ab11e7a86e3f3a9453cbdffd1a1e21f1 /llvm/lib/Target/R600/R600ISelLowering.h
parent41723757138cc1ce64fc445e85ae95609f14f2f8 (diff)
downloadbcm5719-llvm-a2e28156b4c5b1c35f2a242c07b2251fa9550b34.tar.gz
bcm5719-llvm-a2e28156b4c5b1c35f2a242c07b2251fa9550b34.zip
R600: Use legacy (0 * anything = 0) MUL instructions for pow intrinsics
Fixes wrong lighting in some corner cases with r600g and radeonsi, e.g. manifested by failure of two piglit/glean tests and intermittent black patches in many apps. Tested on SI and RS880. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62012 [radeonsi] Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58150 [r600g] NOTE: This is a candidate for the Mesa stable branch. Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 177730
Diffstat (limited to 'llvm/lib/Target/R600/R600ISelLowering.h')
-rw-r--r--llvm/lib/Target/R600/R600ISelLowering.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/R600ISelLowering.h b/llvm/lib/Target/R600/R600ISelLowering.h
index 5cb4b912a18..2c09acb9af3 100644
--- a/llvm/lib/Target/R600/R600ISelLowering.h
+++ b/llvm/lib/Target/R600/R600ISelLowering.h
@@ -59,7 +59,6 @@ private:
SDValue LowerSELECT(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerSTORE(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerFPTOUINT(SDValue Op, SelectionDAG &DAG) const;
- SDValue LowerFPOW(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerLOAD(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerFrameIndex(SDValue Op, SelectionDAG &DAG) const;
OpenPOWER on IntegriCloud