[PATCH] D53152: [Hexagon] Restrict compound instructions with constant value.

Sumanth Gundapaneni via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 11 11:11:01 PDT 2018


sgundapa created this revision.
sgundapa added reviewers: bcahoon, kparzysz.
Herald added a subscriber: llvm-commits.

Having a constant value operand in the compound instruction
is not always profitable. This patch improves coremark by ~4% on
Hexagon.


Repository:
  rL LLVM

https://reviews.llvm.org/D53152

Files:
  lib/Target/Hexagon/HexagonPatterns.td
  test/CodeGen/Hexagon/constant_compound.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53152.169257.patch
Type: text/x-patch
Size: 4733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181011/ad2b803e/attachment.bin>


More information about the llvm-commits mailing list