[all-commits] [llvm/llvm-project] 6f4371: AMDGPU: Don't assert on f16 inv2pi immediates pre-...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jul 22 10:59:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f437117af2fa9f380b0d866cd203aad6c30c9b1
      https://github.com/llvm/llvm-project/commit/6f437117af2fa9f380b0d866cd203aad6c30c9b1
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
    A llvm/test/MC/AMDGPU/inline-imm-inv2pi.s

  Log Message:
  -----------
  AMDGPU: Don't assert on f16 inv2pi immediates pre-gfx8

v_cvt_f32_f16 can still accept this value as a literal constant. This
showed up in GlobalISel since it doesn't have constant folding for
G_FPEXT.




More information about the All-commits mailing list