Now that vmulh can be selected, this adds the MVE patterns to make it legal and generate instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/Target/ARM/ARMISelLowering.cpp | ||
|---|---|---|
| 772 | So this doesn't break for non-vector targets then? Do they get expanded automatically because no vector types are supported? | |
| llvm/lib/Target/ARM/ARMISelLowering.cpp | ||
|---|---|---|
| 772 | Do you mean like a cortex-m33? Where there is no MVE or NEON? I admit I didn't even consider that - but I think you are right. Everything will end up being scalarized anyway, and i32 mulhs/mulhu are handled appropriately. | |
So this doesn't break for non-vector targets then? Do they get expanded automatically because no vector types are supported?