The only way known bits could help identify a known power of two is if
it knows exactly which power of two it is, i.e. if it is a known
constant. But in that case the value should have been simplified to a
constant already. So save some compile time by not calling
computeKnownBits.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
3,790 ms | x64 debian > BOLT.runtime::meta-merge-fdata.test |
Event Timeline
Comment Actions
LGTM - IIRC the plan was to add DemandedElts support which would have made better use of this but it has never ended up being necessary