[all-commits] [llvm/llvm-project] 75e6f0: AMDGPU: Add flag to disable promotion of uniform i...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Aug 24 11:39:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 75e6f0b3d43c90edcc027bca7a896bace5c0677c
      https://github.com/llvm/llvm-project/commit/75e6f0b3d43c90edcc027bca7a896bace5c0677c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-08-24 (Mon, 24 Aug 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/andn2.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/orn2.ll

  Log Message:
  -----------
  AMDGPU: Add flag to disable promotion of uniform i16 ops

This interferes with GlobalISel's much better handling of the
situation.

This should really be disable for GlobalISel. However, the fallback
only re-runs the selection passes, and doesn't go back and rerun any
codegen IR passes. I haven't come up with a good solution to this
problem.




More information about the All-commits mailing list