]> granicus.if.org Git - clang/commit
Diagnose malformed x86 inline asm using 'y' constraint.
authorTim Northover <tnorthover@apple.com>
Fri, 7 Jun 2013 00:04:50 +0000 (00:04 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 7 Jun 2013 00:04:50 +0000 (00:04 +0000)
commit1bea653e0d0f0182ed6e0deb5c18ad1123bb3bbd
tree1c4c26e9955d5704860771e1a4ffbdc6c7319658
parent86875b11db3536858116effd80cbb06b6810303d
Diagnose malformed x86 inline asm using 'y' constraint.

X86's 'y' inline assembly constraint represents an MMX register, this change
prevents Clang from hitting an assertion when passed an incompatible type to
deal with.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183467 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp
lib/CodeGen/TargetInfo.cpp
lib/CodeGen/TargetInfo.h
test/CodeGen/mmx-inline-asm-error.c [new file with mode: 0644]