add a gross hack to work around a problem that Argiris reported
authorChris Lattner <sabre@nondot.org>
Wed, 1 Sep 2010 05:14:33 +0000 (05:14 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 1 Sep 2010 05:14:33 +0000 (05:14 +0000)
commit91abace4ef6fdfe01bcebfb8e90938e71f8a5c4f
treed46cdf3f5a86063501ce221befffc18a044a1a37
parent54d24025d611cb800182765734845b01b232a630
add a gross hack to work around a problem that Argiris reported
on llvmdev: SRoA is introducing MMX datatypes like <1 x i64>,
which then cause random problems because the X86 backend is
producing mmx stuff without inserting proper emms calls.

In the short term, force off MMX datatypes.  In the long term,
the X86 backend should not select generic vector types to MMX
registers.  This is being worked on, but won't be done in time
for 2.8.  rdar://8380055

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112696 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
test/Transforms/ScalarRepl/vector_promote.ll