aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-07-29 21:14:21 -0700
committerCraig Topper <craig.topper@intel.com>2020-07-29 21:15:04 -0700
commit9611ee5f40ea0b0878725dd06657e55363b4065f (patch)
tree5f3e062e67b23a24b4a233a60cee9d56a0939fd1 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentf71deb43abea588901c083d3e6d6d25371b486ae (diff)
downloadllvm-9611ee5f40ea0b0878725dd06657e55363b4065f.zip
llvm-9611ee5f40ea0b0878725dd06657e55363b4065f.tar.gz
llvm-9611ee5f40ea0b0878725dd06657e55363b4065f.tar.bz2
[X86] Teach the assembler parser to handle a '*' between segment register and base/index/displacement part of an address
A '*' after the segment is equivalent to a '*' before the segment register. To make the AsmMatcher table work we need to place the '*' token into the operand vector before the full memory operand. To accomplish this I've modified some portions of operand parsing to expose the operand vector to ParseATTOperand so that the token can be pushed to the vector after parsing the segment register and before creating the memory operand using that segment register. Fixes PR46879 Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D84895
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions