Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
|---|---|---|
| 8026 | 1 << n instead of 2^n? | |
| llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
|---|---|---|
| 8036 | It must be even uglier since llvm tends to change "a >= i" to "a > i - 1". So in practice it is canonicacalized to be not a power of 2 often. That is really so much interlinked... In addition it tends to kill any known power of 2 by replacing it with a shift and comparing a low bit. I feel somewhat lost trying to deoptimize. | |
| 8119 | Yes, silly. Too much changes and copy-paste. | |
| llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
|---|---|---|
| 8119 | ||
1 << n instead of 2^n?