[X86] Add RIP to GR64_TCW64
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 30 Nov 2015 19:04:19 +0000 (19:04 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 30 Nov 2015 19:04:19 +0000 (19:04 +0000)
commitfbb7433e076fcaa297905347a6c516935d2b90bc
treec5e1353394eb63a7dbfb9a069377d2c3e229ae7b
parent56faeb049c0b274ed12267ef74aed60d290be60f
[X86] Add RIP to GR64_TCW64

The MachineVerifier wants to check that the register operands of an
instruction belong to the instruction's register class.  RIP-relative
control flow instructions violated this by referencing RIP.  While this
was fixed for SysV, it was never fixed for Win64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254315 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.td
test/CodeGen/X86/coalescer-win64.ll [new file with mode: 0644]
test/CodeGen/X86/x86-shrink-wrapping.ll