Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
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.