[all-commits] [llvm/llvm-project] b27a53: AMDGPU: Fix illegally constant folding from V_MOV_...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon May 18 12:34:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b27a538dda4caf2752ed8c6c731361ddf9458b87
      https://github.com/llvm/llvm-project/commit/b27a538dda4caf2752ed8c6c731361ddf9458b87
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-05-18 (Mon, 18 May 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/VOP1Instructions.td
    M llvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
    M llvm/test/CodeGen/AMDGPU/atomic_optimizations_pixelshader.ll
    M llvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir

  Log Message:
  -----------
  AMDGPU: Fix illegally constant folding from V_MOV_B32_sdwa

This was assumed to be a simple move, and interpreting the immediate
modifier operand as a materialized immediate. Apparently the SDWA pass
never produces these, but GlobalISel does emit these for some vector
shuffles.




More information about the All-commits mailing list