Add the missing MUL pattern for integer immediate instructions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Do we have any negative tests, for immediates that are outside the range of the sve mul immediate instruction?
No, I will add some negative tests for immediates that are out of range.
| llvm/test/CodeGen/AArch64/sve-int-arith-imm.ll | ||
|---|---|---|
| 384 | Will fix this. | |
LGTM
| llvm/test/CodeGen/AArch64/sve-neg-int-arith-imm-2.ll | ||
|---|---|---|
| 2 | "not llc"? Do we not have a pattern for a general SVE vector multiply yet? In that case, I guess this is fine for now. But please add a note explaining that. We should probably prioritize adding those patterns. | |
| llvm/test/CodeGen/AArch64/sve-neg-int-arith-imm-2.ll | ||
|---|---|---|
| 2 | Agreed. I will do those patterns next and then update these tests on my next patch. | |
nit: space (and below)