[X86] Add 'Requires<[In64BitMode]>' to a bunch of instructions that only have memory...
authorCraig Topper <craig.topper@intel.com>
Fri, 15 Dec 2017 19:01:51 +0000 (19:01 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 15 Dec 2017 19:01:51 +0000 (19:01 +0000)
commit23c348850f1f8be70a0502bd0a1f0fe76a0fb9f1
treef164c6c178df5d10a50f10c8f8b27134e480b73e
parent914b1d524cbaf4a8bd74baec7e02bb485df74651
[X86] Add 'Requires<[In64BitMode]>' to a bunch of instructions that only have memory and immediate operands.

The asm parser wasn't preventing these from being accepted in 32-bit mode. Instructions that use a GR64 register are protected by the parser rejecting the register in 32-bit mode.

llvm-svn: 320846
llvm/lib/Target/X86/X86InstrArithmetic.td
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86InstrShiftRotate.td
llvm/lib/Target/X86/X86InstrSystem.td