[all-commits] [llvm/llvm-project] 58e7ec: [AMDGPU] Run SIShrinkInstructions before post-RA s...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Oct 22 12:26:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58e7ec471c3e379333c2ed45ea2a3f96afbc2d5f
      https://github.com/llvm/llvm-project/commit/58e7ec471c3e379333c2ed45ea2a3f96afbc2d5f
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll

  Log Message:
  -----------
  [AMDGPU] Run SIShrinkInstructions before post-RA scheduling

Run post-RA SIShrinkInstructions just before post-RA scheduling, instead
of afterwards. After the fixes in D112305 and D112317 this seems to make
no difference, but it paves the way for scheduler tweaks that are
sensitive to the e32 vs e64 encoding of VALU instructions.

Differential Revision: https://reviews.llvm.org/D112341




More information about the All-commits mailing list