[all-commits] [llvm/llvm-project] f89f6d: [AMDGPU]: Fixes an invalid clamp selection pattern.

Thomas Symalla via All-commits all-commits at lists.llvm.org
Mon Feb 8 04:07:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f89f6d1e5d7d9cefd9e1d4c7a17afb53245a1fa8
      https://github.com/llvm/llvm-project/commit/f89f6d1e5d7d9cefd9e1d4c7a17afb53245a1fa8
  Author: Thomas Symalla <thomas.symalla at amd.com>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
    M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
    M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
    M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
    M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    A llvm/test/CodeGen/AMDGPU/GlobalISel/combine-short-clamp.ll

  Log Message:
  -----------
  [AMDGPU]: Fixes an invalid clamp selection pattern.

When running the tests on PowerPC and x86, the lit test GlobalISel/trunc.ll fails at the memory sanitize step. This seems to be due to wrong invalid logic (which matches even if it shouldn't) and likely missing variable initialisation."

Reviewed By: arsenm

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




More information about the All-commits mailing list