[all-commits] [llvm/llvm-project] 037926: [AMDGPU] Fix width check for signed mul24 generation.
Abinav Puthan Purayil via All-commits
all-commits at lists.llvm.org
Fri Oct 15 06:28:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0379263f23a667ff5823c96a3e5819f65eadd243
https://github.com/llvm/llvm-project/commit/0379263f23a667ff5823c96a3e5819f65eadd243
Author: Abinav Puthan Purayil <abinav.puthanpurayil at amd.com>
Date: 2021-10-15 (Fri, 15 Oct 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-mul24.ll
Log Message:
-----------
[AMDGPU] Fix width check for signed mul24 generation.
This changes fixes a case in which the highest set bit of the original
result is at bit 31 and sign-extending the mul24 for it would make the
result negative.
Differential Revision: https://reviews.llvm.org/D111823
More information about the All-commits
mailing list