[PATCH] D57942: [ARM] Add v8m.base pattern for add negative imm
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 8 05:14:38 PST 2019
dmgreen added inline comments.
================
Comment at: lib/Target/ARM/ARMInstrThumb.td:1326
+def : T1Pat<(add tGPR:$src, imm0_65535_neg:$imm),
+ (tSUBrr tGPR:$src, (MOVi16 (imm_neg_XFORM imm:$imm)))>,
+ Requires<[HasV8MBaseline]>;
----------------
Should this be t2MOVi16?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57942/new/
https://reviews.llvm.org/D57942
More information about the llvm-commits
mailing list