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)
commitc74a70df6ded8b538cc13be0f13db62d30a7c71f
tree1877c008631ad216b78a70509b5b11c36c5a1f9e
parente43c5023fe0c1de8d5c1ff13d07ff710b196d121
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209651 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.cpp
lib/Target/AArch64/AArch64RegisterInfo.cpp