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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D111823
[AMDGPU] Fix width check for signed mul24 generation. ClosedPublic Authored by abinavpp on Oct 14 2021, 10:23 AM.
Details Summary This changes fixes a case in which the highest set bit of the original
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others. · View Herald TranscriptOct 14 2021, 10:23 AM This revision is now accepted and ready to land.Oct 15 2021, 1:58 AM Closed by commit rG0379263f23a6: [AMDGPU] Fix width check for signed mul24 generation. (authored by abinavpp). · Explain WhyOct 15 2021, 6:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 379979 llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-mul24.ll
|