[PATCH] D57833: [ARM] Add some missing thumb1 opcodes to enable peephole optimisation of CMPs
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 6 11:38:06 PST 2019
dmgreen planned changes to this revision.
dmgreen marked an inline comment as done.
dmgreen added inline comments.
================
Comment at: lib/Target/ARM/ARMBaseInstrInfo.cpp:2923
+ Opc == ARM::tSUBi8;
if (!IsSub || (SrcReg2 != 0 && SubAdd->getOperand(1).getReg() == SrcReg2 &&
SubAdd->getOperand(2).getReg() == SrcReg)) {
----------------
Whoops. Forgot about this bit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57833/new/
https://reviews.llvm.org/D57833
More information about the llvm-commits
mailing list