[PATCH] D50795: [DAG] Enhance X86 Register expression handling to more closely match GCC.

Nirav Dave via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 15 11:13:56 PDT 2018


niravd created this revision.
niravd added reviewers: rnk, void.
Herald added a subscriber: hiraditya.

Allow the comparison of x86 registers in the evaluation of assembler
directives. This generalizes and simplifies the extension from r334022 to catch another case 
found in the Linux kernel.


Repository:
  rL LLVM

https://reviews.llvm.org/D50795

Files:
  llvm/include/llvm/MC/MCExpr.h
  llvm/include/llvm/MC/MCParser/MCAsmParserUtils.h
  llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h
  llvm/lib/MC/MCExpr.cpp
  llvm/lib/MC/MCParser/AsmParser.cpp
  llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
  llvm/lib/Target/X86/MCTargetDesc/X86MCExpr.h
  llvm/test/MC/X86/pr37425.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50795.160864.patch
Type: text/x-patch
Size: 9763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180815/76774ed7/attachment.bin>


More information about the llvm-commits mailing list