Convert GISelKnownBits.computeKnownBitsImpl shift handling to use the common KnownBits implementations, which makes use the of the known leading/trailing bits for shifted values in cases where we don't know the shift amount value as detailed in https://blog.regehr.org/archives/1709 .
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp | ||
---|---|---|
372–375 | No reason - I'll refactor the SelectionDAG version to do that and then update this to use it as well. |
I thought there was a move towards moving the shared implementation of these into KnownBits::. Is there a reason this needs to be repeated here?