]> granicus.if.org Git - clang/commit
[X86][Asm] Allow negative immediate to appear before bracketed expression
authorCoby Tayree <coby.tayree@intel.com>
Wed, 9 Aug 2017 21:50:22 +0000 (21:50 +0000)
committerCoby Tayree <coby.tayree@intel.com>
Wed, 9 Aug 2017 21:50:22 +0000 (21:50 +0000)
commitc0edc1569159738ac705cb3936ee8018a896a20f
tree6e6f54a6aac6df7f57bca5fcca75b95f8c0db975
parentf535ad0f83b2f90343cafbf8f929d6c956747263
[X86][Asm] Allow negative immediate to appear before bracketed expression

Currently, only non-negative immediate is allowed prior to a brac expression (memory reference).
MASM / GAS does not have any problem cope with the left side of the real line, so we should be able to as well.

llvm: D36229

Differential Revision: https://reviews.llvm.org/D36230

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310529 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/ms-inline-asm.c