ShAmt / 8 can be a non power of two, this can lead to an invalid alignment.
context: https://reviews.llvm.org/D41350#inline-749165
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
4879 | assert here is just to refresh what is established L.4861 |
assert here is just to refresh what is established L.4861
It helps understand why ShAmt / 8 is valid.