[all-commits] [llvm/llvm-project] fb8127: [AMDGPU] Fix lowering of AMDGPU::G_CTTZ_ZERO_UNDEF...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Aug 17 10:10:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb81271e8b44cafff3abf4c05d1485d4b4832e6e
      https://github.com/llvm/llvm-project/commit/fb81271e8b44cafff3abf4c05d1485d4b4832e6e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-cttz-zero-undef.mir

  Log Message:
  -----------
  [AMDGPU] Fix lowering of AMDGPU::G_CTTZ_ZERO_UNDEF to AMDGPU::G_AMDGPU_FFBL_B32

As mentioned on D107474, there was a copy+paste typo repeating G_CTLZ_ZERO_UNDEF that coverity reported as dead code.

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




More information about the All-commits mailing list