[PATCH] D32627: AMDGPU: Pull fneg out of extract_vector_elt

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 16:58:26 PDT 2017


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

This allows folding source modifiers in more f16 cases.
Makes it easier to select per-component packed neg modifiers


https://reviews.llvm.org/D32627

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.h
  test/CodeGen/AMDGPU/fneg-combines.ll
  test/CodeGen/AMDGPU/fneg.f16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32627.97023.patch
Type: text/x-patch
Size: 7480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170427/246439a8/attachment.bin>


More information about the llvm-commits mailing list