[all-commits] [llvm/llvm-project] 5ab2e1: [AMDGPU] Fix typos in performCtlz_CttzCombine()

jayfoad via All-commits all-commits at lists.llvm.org
Tue Jul 14 02:18:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ab2e14d31d4905589d69dff30ccf4f9dd295e26
      https://github.com/llvm/llvm-project/commit/5ab2e14d31d4905589d69dff30ccf4f9dd295e26
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/cttz_zero_undef.ll
    A llvm/test/CodeGen/AMDGPU/select-constant-cttz.ll

  Log Message:
  -----------
  [AMDGPU] Fix typos in performCtlz_CttzCombine()

Fix two obvious errors in the code and also update the test check.
Also add one test to catch the failure.

Patch by Ruiling Song!

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




More information about the All-commits mailing list