[AMDGPU] Remove MUL_LOHI_U24/MUL_LOHI_I24
authorJay Foad <jay.foad@amd.com>
Mon, 19 Oct 2020 15:34:54 +0000 (16:34 +0100)
committerJay Foad <jay.foad@amd.com>
Mon, 19 Oct 2020 18:15:34 +0000 (19:15 +0100)
commit56f6bf1a8d6c9288d54737479ba0bbe792528625
treedfd9f5b1e89618bccb8ca3e6136890a36f3f301c
parent24df30efda6169915bc75bbf78d4c7f65d5f57e2
[AMDGPU] Remove MUL_LOHI_U24/MUL_LOHI_I24

These were introduced in r279902 on the grounds that using separate
MUL_U24/MUL_I24 and MULHI_U24/MULHI_I24 nodes would introduce multiple
uses of the operands, which would prevent SimplifyDemandedBits from
simplifying the operands.

This has since been fixed by D24672 "AMDGPU/SI: Use new SimplifyDemandedBits helper for multi-use operations"

No functional change intended. At least it has no effect on lit tests.

Differential Revision: https://reviews.llvm.org/D89706
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h