[x86] Distinguish the 'o', 'v', 'X', and 'i' inline assembly memory constraints.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Sat, 16 May 2015 12:09:54 +0000 (12:09 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Sat, 16 May 2015 12:09:54 +0000 (12:09 +0000)
commitf01f1c413a7aa03a241d90439e68620bb75abee4
treebfcfd0837ea65062840be6efaa5002ab5f2ffd28
parent39dd163cdb3337be43ab8501fa03770177c6ea09
[x86] Distinguish the 'o', 'v', 'X', and 'i' inline assembly memory constraints.

Summary:
But still handle them the same way since I don't know how they differ on
this target.

Of these, 'o' and 'v' are not tested but were already implemented.

I'm not sure why 'i' is required for X86 since it's supposed to be an
immediate constraint rather than a memory constraint. A test asserts
without it so I've included it for now.

No functional change intended.

Reviewers: nadav

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8254

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237517 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/InlineAsm.h
lib/Target/X86/X86ISelDAGToDAG.cpp
lib/Target/X86/X86ISelLowering.h