[all-commits] [llvm/llvm-project] 02adfb: AMDGPU/GlobalISel: Manually select scalar f64 G_FNEG

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jan 29 06:52:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 02adfb5155e5ee1bb94b9b196db57b9902ae8278
      https://github.com/llvm/llvm-project/commit/02adfb5155e5ee1bb94b9b196db57b9902ae8278
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

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

  Log Message:
  -----------
  AMDGPU/GlobalISel: Manually select scalar f64 G_FNEG

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.




More information about the All-commits mailing list