AArch64: implement copies to/from NZCV as a last ditch effort.
authorTim Northover <tnorthover@apple.com>
Tue, 27 May 2014 12:16:02 +0000 (12:16 +0000)
committerTim Northover <tnorthover@apple.com>
Tue, 27 May 2014 12:16:02 +0000 (12:16 +0000)
commit1bed9afd30cbd4074d95aff686c952eae08ce4d3
tree4ba48abe66774ffdbf08d3d769841534fa20ee7a
parent4f1909f1da178001187b1bbbee237f73945b9477
AArch64: implement copies to/from NZCV as a last ditch effort.

A test in test/Generic creates a DAG where the NZCV output of an ADCS is used
by multiple nodes. This makes LLVM want to save a copy of NZCV for later, which
it couldn't do before.

This should be the last fix required for the aarch64 buildbot.

llvm-svn: 209651
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp