This is a follow-up on D34077. Elena observed that the
correctness of the code relies on isPowerOf2(0) returning false.
Adding a test to cover this corner-case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM as this is actually documenting the current behaviour more explicity.
Feel free to commit cleanup like this without a pre-commit review (somebody will complain post commit if needed :)