As noted on D75114, if both arguments of a funnel shift are consecutive loads we are missing the opportunity to combine them into a single load.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
8271 | Do you need to check whether unaligned loads are supported for the given type? |
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
8271 | Thanks, I'll add an TLI.allowsMemoryAccess check - speaking of which, a lot of combines seem to use a getABITypeAlignment check which seems like overkill to me? |
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | ||
---|---|---|
8271 | Yes, that seems like overkill. |
Do you need to check whether unaligned loads are supported for the given type?