[PATCH] D29848: AMDGPU: Constant fold rcp node

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 14:09:08 PST 2017


arsenm created this revision.
Herald added subscribers: tpr, tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.

When doing arcp optimization with a constant denominator,
this was leaving behind rcps with constant inputs.


https://reviews.llvm.org/D29848

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  test/CodeGen/AMDGPU/fdiv.f16.ll
  test/CodeGen/AMDGPU/fdiv.f64.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.rcp.ll
  test/CodeGen/AMDGPU/rcp-pattern.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29848.88052.patch
Type: text/x-patch
Size: 13194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170210/b121b521/attachment.bin>


More information about the llvm-commits mailing list