[PATCH] D38146: [AArch64] Fix bug in store of vector 0 DAGCombine.

Geoff Berry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 10:49:55 PDT 2017


gberry created this revision.
Herald added subscribers: kristof.beyls, eraman, javed.absar, rengolin, aemerson.

Avoid using XZR/WZR directly as operands to split stores of zero
vectors.  Doing so can lead to the XZR/WZR being used by an instruction
that doesn't allow it (e.g. add).

Fixes bug 34674.


https://reviews.llvm.org/D38146

Files:
  lib/Target/AArch64/AArch64ISelLowering.cpp
  test/CodeGen/AArch64/arm64-memset-inline.ll
  test/CodeGen/AArch64/fastcc.ll
  test/CodeGen/AArch64/ldst-opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38146.116223.patch
Type: text/x-patch
Size: 3685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170921/9b5dbd17/attachment.bin>


More information about the llvm-commits mailing list