[PATCH] D35115: Clang's assembler crashes if Scale in lea is negative (pr33661)

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 7 03:20:12 PDT 2017


avt77 created this revision.
Herald added a subscriber: javed.absar.

If we use Intal syntax assembler and deal with negative value of Scale in LEA instruction then Clang crashes (see pr33661 for details).


https://reviews.llvm.org/D35115

Files:
  lib/Target/X86/AsmParser/X86AsmParser.cpp
  test/CodeGen/ARM/arguments-nosplit-double.ll
  test/CodeGen/ARM/arguments-nosplit-i64.ll
  test/MC/X86/intel-syntax-invalid-scale.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35115.105609.patch
Type: text/x-patch
Size: 4229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170707/26d281fe/attachment.bin>


More information about the llvm-commits mailing list