]> granicus.if.org Git - clang/commit
The "gcc.dg/compat/vector-1 -m32" test was broken after the MMX rewrite. The
authorBill Wendling <isanbard@gmail.com>
Sun, 17 Oct 2010 07:38:01 +0000 (07:38 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 17 Oct 2010 07:38:01 +0000 (07:38 +0000)
commit51a9f5309a025f5c54e7dc373eb7d11daabee6df
tree07422e47d709251ec8566b95234e0426eaf40d0f
parenta7d2f19e6b77330e27f03a446093700df74b652d
The "gcc.dg/compat/vector-1 -m32" test was broken after the MMX rewrite. The
function parameters weren't converted to use the correct type (x86_mmx). Add a
check, similar to the one in llvm-gcc, to see if we need the x86_mmx type for
that function parameter. If so, it coerces the type to be that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116684 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp