Re-apply 40504, but with a fix for the segfault it caused in oggenc:
authorDan Gohman <gohman@apple.com>
Fri, 27 Jul 2007 17:16:43 +0000 (17:16 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 27 Jul 2007 17:16:43 +0000 (17:16 +0000)
commitd300622ebacde5bffb5b5e58142323e505df9dbe
treeeaaadf961ade373f2c208baa68d8bf6607eb42c0
parent9d3e79107d4ea26fe64a30e9981897735df10952
Re-apply 40504, but with a fix for the segfault it caused in oggenc:
Make the alignedload and alignedstore patterns always require 16-byte
alignment. This way when they are used in the "Fs" instructions, in which
a vector instruction is used for a scalar purpose, they can still require
the full vector alignment. And add a regression test for this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40555 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/fsxor-alignment.ll [new file with mode: 0644]
test/CodeGen/X86/vec_shuffle.ll