[all-commits] [llvm/llvm-project] ed5017: GlobalISel: Start defining strict FP instructions

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jun 3 17:46:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ed5017e153c76adc13badcfd123c68dd074e75d1
      https://github.com/llvm/llvm-project/commit/ed5017e153c76adc13badcfd123c68dd074e75d1
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-constrained-fp.ll

  Log Message:
  -----------
  GlobalISel: Start defining strict FP instructions

The AMDGPU lowering for unconstrained G_FDIV sometimes needs to
introduce a mode switch in the middle, so it's helpful to have
constrained instructions available to legalize this. Right now nothing
is preventing reordering of the mode switch with the other
instructions in the expansion.




More information about the All-commits mailing list