This allows special constants like to 0 to be recognized. It's also
expected by isel patterns if a target had a mulh with immediate instructions.
The commuting done by tablegen won't commute patterns with immediates since it
expects DAGCombine to have done it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, thanks!
llvm/test/CodeGen/AMDGPU/sdiv64.ll | ||
---|---|---|
1211 | Looks like there is some further cleanup possible here. This instruction is "add 0 with carry out" which is pretty useless. |
clang-format not found in user’s local PATH; not linting file.