]> granicus.if.org Git - llvm/commit
AArch64: avoid creating cycle in DAG for post-increment NEON ops.
authorTim Northover <tnorthover@apple.com>
Tue, 27 Aug 2019 10:21:11 +0000 (10:21 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 27 Aug 2019 10:21:11 +0000 (10:21 +0000)
commit0b15c50b407d3d21b0cda46d50fe6da303258cd3
tree32d24377dcf4e53ea3ac4e21ad3e4f819b35083b
parent4ea7e7764d0c9e4704ddecb592a8e9d4ed71ad63
AArch64: avoid creating cycle in DAG for post-increment NEON ops.

Inserting a value into Visited has the effect of terminating a search for
predecessors if that node is seen. This is legitimate for the base address, and
acts as a slight performance optimization, but the vector-building node can be
paert of a legitimate cycle so we shouldn't stop searching there.

PR43056.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370036 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll