The isU24() and isI24() calls numBits to make its decision. This change
replaces them with the internal numBits call so that we can use its
result for the > 32 bit width cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp | ||
---|---|---|
512 | I realize this check was already in isI24, but I don't see the point of it. I think the only effect it has is: on a machine that has mul_i24 but not mul_u24, we will fail to do this optimization, for no good reason. |
I realize this check was already in isI24, but I don't see the point of it. I think the only effect it has is: on a machine that has mul_i24 but not mul_u24, we will fail to do this optimization, for no good reason.