[PATCH] D67350: [IfCvt][ARM] Optimise diamond if-conversion for code size

Oliver Stannard (Linaro) via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 04:00:49 PDT 2019


ostannard updated this revision to Diff 219513.
ostannard added a comment.

- Limit to minsize (-Oz)
- Count common instructions at the start of the true/false blocks
- Non-analyzable branches and branches in forked diamonds will be merged, not removed


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67350/new/

https://reviews.llvm.org/D67350

Files:
  llvm/include/llvm/CodeGen/TargetInstrInfo.h
  llvm/lib/CodeGen/IfConversion.cpp
  llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
  llvm/lib/Target/ARM/ARMBaseInstrInfo.h
  llvm/test/CodeGen/ARM/ifcvt-size.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67350.219513.patch
Type: text/x-patch
Size: 27619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190910/8b8dd3e9/attachment.bin>


More information about the llvm-commits mailing list