Fix "Not having LAHF/SAHF" assert.
authorHans Wennborg <hans@hanshq.net>
Tue, 15 Dec 2015 23:21:46 +0000 (23:21 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 15 Dec 2015 23:21:46 +0000 (23:21 +0000)
commit009fed31760b2b3fc0395bedf2f6d9f25b9bbb32
tree75c5ec4d02f66ec6d5699d719d4b35f533f71d38
parent292cd25357f1d12f601707a92096043e0dfa978c
Fix "Not having LAHF/SAHF" assert.

It wants to assert that the subtarget is 64-bit, not the register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255703 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp