This helps ISel decompose the generic offset for the tile into a base + offset.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | ||
---|---|---|
12660–12661 | This may need to protect against vector types now. |
Comment Actions
Added isa<VectorType> check for fma.
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | ||
---|---|---|
12660–12661 | Good catch @dmgreen, thanks! |
Comment Actions
Thanks. LGTM
You may find that in certain situations the add gets transformed into an or if the operands have no bits are common, but I presume that would not break anything just be a little suboptimal. There is a haveNoCommonBitsSet method if it would be useful to support. I can imagine cases where base would known to be a multiple of a power2.
This may need to protect against vector types now.