Details
Diff Detail
Unit Tests
| Time | Test | |
|---|---|---|
| 770 ms | x64 debian > libomp.lock::omp_init_lock.c |
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?