[PATCH] D73477: AMDGPU/GlobalISel: Manually select scalar f64 G_FNEG

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 07:28:31 PST 2020


arsenm created this revision.
arsenm added reviewers: nhaehnle, kerbowa.
Herald added subscribers: Petar.Avramovic, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

This should be no problem to support with a pattern, but it turns out
there are just too many yaks to shave. The main problem is in the DAG
emitter, which I have no desire to sink effort into fixing.

      

If we had a bit to disable patterns in the DAG importer, fixing the
GlobalISelEmitter is more manageable.


https://reviews.llvm.org/D73477

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73477.240574.patch
Type: text/x-patch
Size: 5700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200127/fa77480d/attachment.bin>


More information about the llvm-commits mailing list