[X86] Change BNDLDX to use anymem instead of i64mem for itsmemory operand.

This instruction doesn't access memory. It juse use a similar looking memory encoding. Don't require Intel syntax to put "qword ptr" in front of it.

llvm-svn: 320845
This commit is contained in:
Craig Topper 2017-12-15 19:01:50 +00:00
parent 446f3e2084
commit 914b1d524c
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def BNDSTXmr: I<0x1B, MRMDestMem, (outs), (ins i64mem:$dst, BNDR:$src),
Requires<[HasMPX]>;
}
let mayLoad = 1 in
def BNDLDXrm: I<0x1A, MRMSrcMem, (outs BNDR:$dst), (ins i64mem:$src),
def BNDLDXrm: I<0x1A, MRMSrcMem, (outs BNDR:$dst), (ins anymem:$src),
"bndldx\t{$src, $dst|$dst, $src}", [], IIC_MPX>, PS,
Requires<[HasMPX]>;
} // SchedRW