[PATCH] D19985: [Kryo] Use immediate #0 to zero a register

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 11 15:25:22 PDT 2016


haicheng updated this revision to Diff 63597.
haicheng added a comment.

I separate this patch into two parts, ZCZeroing part and isAsCheapAsAMove part.  This patch now only has the first part.

I am still collecting performance data of setting any COPY isAsCheapAsAMove on A57 and Kryo which may takes a while.  Moreover, I am thinking maybe I should use isZeroCost() API to set all zero cost pseudo-instructions (including COPY) isAsCheapAsAMove.  I will upload another patch after the experiment is done.


Repository:
  rL LLVM

http://reviews.llvm.org/D19985

Files:
  lib/Target/AArch64/AArch64.td
  test/CodeGen/AArch64/arm64-zero-cycle-zeroing.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19985.63597.patch
Type: text/x-patch
Size: 3251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160711/865d8a8c/attachment.bin>


More information about the llvm-commits mailing list