[all-commits] [llvm/llvm-project] 181c49: [AMDGPU] Add implicit negative check for the set_g...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Apr 30 06:46:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 181c492ee72c2234e50a60dda467a587f1e8dc08
      https://github.com/llvm/llvm-project/commit/181c492ee72c2234e50a60dda467a587f1e8dc08
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/set-gpr-idx-peephole.mir

  Log Message:
  -----------
  [AMDGPU] Add implicit negative check for the set_gpr_idx tests

The only effect of the optimization is to remove s_set_gpr_idx_*
instructions, and update_mir_test_checks.py always inserts CHECK: rather
than CHECK-NEXT: checks, so without this implicit negative check, the
tests would always pass even if the optimization did nothing.

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




More information about the All-commits mailing list