Details
Diff Detail
Event Timeline
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
8028 | 1 << n instead of 2^n? |
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
8038 | 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. | |
8121 | Yes, silly. Too much changes and copy-paste. |
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
8121 |
1 << n instead of 2^n?