Add DestructiveBinaryImm SQSHLU patterns and tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@cameron.mcinally thanks for the patch! Just one minor nit, otherwise LGTM. Is it be worth setting the DestructiveInstType in this patch also given it'll only be a couple of line change?
llvm/test/CodeGen/AArch64/sve2-intrinsics-uniform-dsp-zeroing.ll | ||
---|---|---|
15 | nit: align args (and below) |
Comment Actions
It's already set to DestructiveBinaryImm in the sve_int_bin_pred_shift_imm class.
llvm/lib/Target/AArch64/SVEInstrFormats.td | ||
---|---|---|
4752 | DestructiveInstType is set here. |
DestructiveInstType is set here.