[all-commits] [llvm/llvm-project] a68c72: [AMDGPU] Run twoaddr tests with -early-live-interv...

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Sep 20 00:22:14 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a68c7241ec86036ba8001a44817b6e1e0584522d
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/gfx10-twoaddr-fma.mir
    M llvm/test/CodeGen/AMDGPU/twoaddr-fma-f64.mir
    M llvm/test/CodeGen/AMDGPU/twoaddr-fma.mir
    M llvm/test/CodeGen/AMDGPU/twoaddr-mad.mir
    M llvm/test/CodeGen/AMDGPU/twoaddr-wmma.mir

  Log Message:
  [AMDGPU] Run twoaddr tests with -early-live-intervals (#66775)

Sample test case:

%3 = V_FMAC_F32_e32 killed %0, %1, %2, implicit $mode, implicit $exec

With LiveVariables this is converted to three-address form just because
there is no "killed" flag on %2. To make it do the same thing with
LiveIntervals I added a later use of %2:

%3 = V_FMAC_F32_e32 killed %0, %1, %2, implicit $mode, implicit $exec
    S_ENDPGM 0, implicit %2

More information about the All-commits mailing list