[llvm] r276895 - [MC][X86] Fix Intel Operand assembly parsing for .set ids

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 16:10:14 PDT 2016


On Wed, Jul 27, 2016 at 10:39 AM, Nirav Dave via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: niravd
> Date: Wed Jul 27 12:39:41 2016
> New Revision: 276895
>
> URL: http://llvm.org/viewvc/llvm-project?rev=276895&view=rev
> Log:
> [MC][X86] Fix Intel Operand assembly parsing for .set ids
>
> Fix intel syntax special case identifier operands that refer to a constant
> (e.g. .set <ID> n) to be interpreted as immediate not memory in parsing.
>
> Reviewers: rnk
>
> Subscribers: llvm-commits
>
> Differential Revision: https://reviews.llvm.org/D22585
>
> Modified:
>     llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
>     llvm/trunk/test/MC/X86/intel-syntax-encoding.s
>     llvm/trunk/test/MC/X86/intel-syntax-error.s

This seems to have broken compilation of some inline assembly,
breaking self-host with Clang on Windows. See PR28805.

I've reverted and checked in a test in r277402.


More information about the llvm-commits mailing list