[all-commits] [llvm/llvm-project] 9fc535: [AMDGPU] Fix gcc warnings

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Tue Oct 6 02:01:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fc535f987b4fff62ec659d965b8ba1d371977fe
      https://github.com/llvm/llvm-project/commit/9fc535f987b4fff62ec659d965b8ba1d371977fe
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-10-06 (Tue, 06 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Fix gcc warnings

uint8_t types are implicitly promoted to int, leading to a
unsigned-signed comparison.

Thanks for the heads-up @uabelho.

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




More information about the All-commits mailing list