]> granicus.if.org Git - clang/commit
When we adjust the inline ASM type, we need to take into account an early
authorBill Wendling <isanbard@gmail.com>
Mon, 7 Mar 2011 22:47:14 +0000 (22:47 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 7 Mar 2011 22:47:14 +0000 (22:47 +0000)
commit0507be662df482b5c67b7905ed7ca368cb5c6b69
tree70211a3829632eeb6a05158fda0339c17c53b689
parent4e03c2b9d735063a60cd0623423f4814178857ef
When we adjust the inline ASM type, we need to take into account an early
clobber with the 'y' constraint. Otherwise, we get the wrong return type and an
assert, because it created a '<1 x i64>' vector type instead of the x86_mmx
type.

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