[PATCH] R600/SI: Custom lower fround

Matt Arsenault Matthew.Arsenault at amd.com
Tue Jan 20 19:21:25 PST 2015


This fixes it for SI. It also removes the pattern
used previously for Evergreen for f32. I'm not sure
if the the new R600 output is better or not, but it uses
1 fewer instructions if BFI is available.

http://reviews.llvm.org/D7079

Files:
  lib/Target/R600/AMDGPUISelLowering.cpp
  lib/Target/R600/AMDGPUISelLowering.h
  lib/Target/R600/EvergreenInstructions.td
  lib/Target/R600/R600Instructions.td
  test/CodeGen/R600/llvm.round.f64.ll
  test/CodeGen/R600/llvm.round.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7079.18475.patch
Type: text/x-patch
Size: 14888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150121/c9f3816f/attachment.bin>


More information about the llvm-commits mailing list