[all-commits] [llvm/llvm-project] 2759cf: [AMDGPU] Remove unnecessary add instructions in ct...
Leon Clark via All-commits
all-commits at lists.llvm.org
Fri Jan 19 02:16:59 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2759cfa0c35478b5a3bc1e51a1ed817d1b1dc39f
https://github.com/llvm/llvm-project/commit/2759cfa0c35478b5a3bc1e51a1ed817d1b1dc39f
Author: Leon Clark <PeddleSpam at users.noreply.github.com>
Date: 2024-01-19 (Fri, 19 Jan 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/test/CodeGen/AMDGPU/ctlz.ll
M llvm/test/CodeGen/AMDGPU/ctlz_zero_undef.ll
Log Message:
-----------
[AMDGPU] Remove unnecessary add instructions in ctlz.i8 (#77615)
Add custom lowering for ctlz.i8 to avoid multiple add/sub operations.
---------
Co-authored-by: Leon Clark <leoclark at amd.com>
Co-authored-by: Matt Arsenault <Matthew.Arsenault at amd.com>
More information about the All-commits
mailing list