ARM64: give TST aliases priority over ANDS.
authorTim Northover <tnorthover@apple.com>
Fri, 16 May 2014 09:41:08 +0000 (09:41 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 16 May 2014 09:41:08 +0000 (09:41 +0000)
commit93185d186c42d67ebe28e699ff89ba885f7e062d
tree888f30b30ae3e6a94f049f20c0eeb33cbb51ef4f
parent22f4151e3b505c9916950dfe10f54f67bb4942bd
ARM64: give TST aliases priority over ANDS.

If an ANDS instruction has Rd == ZR it should be printed as TST since
its only effect is on the flags register NZCV.

This will be tested when the TableGen "should I print this Alias"
heuristic is fixed (very soon).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208959 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/ARM64InstrInfo.td