We can reuse constants if we use SRL followed by AND and AND followed by SHL.
Similar was done to bitreverse previously.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,060 ms | x64 debian > Clang.Driver::crash-report.cpp |
Event Timeline
Comment Actions
LGTM; seems to help all the testcases, likely to be generally beneficial, and if it somehow hurts some target, that target can always override.
clang-format not found in user’s local PATH; not linting file.