Use "test reg,reg" in place of "cmp reg,0" for 64-bit operands. This was
authorDan Gohman <gohman@apple.com>
Mon, 17 Sep 2007 14:35:24 +0000 (14:35 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 17 Sep 2007 14:35:24 +0000 (14:35 +0000)
commit11f7bfbb834e42cd53a81a84a1dfc118ae17c9c5
treee8cdd846b46e06c5cd4b3a49f7eddc2424a846e4
parentcdb6d929d0d2d2399a66bc7eb391934a10a752ed
Use "test reg,reg" in place of "cmp reg,0" for 64-bit operands. This was
previously only done for 32-bit and smaller operands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42024 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrX86-64.td
test/CodeGen/X86/cmp0.ll [new file with mode: 0644]