Build the common instructions once and
reuse them for both div and rem.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll | ||
|---|---|---|
| 492 | Looks like this is actually worse codegen because it's forcing the 64-bit encoding of cmp and cndmask? So maybe my suggestion was not a good idea, sorry. | |
Looks like this is actually worse codegen because it's forcing the 64-bit encoding of cmp and cndmask? So maybe my suggestion was not a good idea, sorry.