[PATCH] D83667: [ARM] Fix IT block generation after Thumb2SizeReduce with -Oz
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 02:13:52 PDT 2020
dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.
Thanks. LGTM with a very minor nitpick
================
Comment at: llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp:594
+ const MCInstrDesc &MCID = MI.getDesc();
+ if(MCID.TSFlags & ARMII::ThumbArithFlagSetting && MO.isDead()) {
+ continue;
----------------
You needn't put { brackets on single statement if blocks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83667/new/
https://reviews.llvm.org/D83667
More information about the llvm-commits
mailing list