Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
| Time | Test | |
|---|---|---|
| 40 ms | linux > Clang.CodeGen::arm-eabi.c | |
| 80 ms | windows > Clang.CodeGen::arm-eabi.c |
Event Timeline
| llvm/include/llvm/ADT/APInt.h | ||
|---|---|---|
| 1454 | +1 | |
| llvm/include/llvm/ADT/APInt.h | ||
|---|---|---|
| 1454 | Would it be simpler if we just did: if (BitValue) setBit(BitPosition); else clearBit(BitPosition); | |
| llvm/include/llvm/ADT/APInt.h | ||
|---|---|---|
| 1454 | OK. I was trying to reduce the number of conditional branches but maybe it's not helpful in this case. | |
I think setBitVal() might be better.