Change TargetData's algorithm for computing defualt vector type
authorDan Gohman <gohman@apple.com>
Fri, 23 Apr 2010 19:41:15 +0000 (19:41 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 23 Apr 2010 19:41:15 +0000 (19:41 +0000)
commit6e8fd9060253a29483ce628f6831786053516260
tree38a2b5a336660bae384e0f2def743febbc78f743
parentcaf7740f96cdcd47b7ba7fc660b82e1f664363be
Change TargetData's algorithm for computing defualt vector type
alignment to match what's used in clang and GCC for __alignof, rather
than trying to guess what Legalize is going to be doing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102206 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/TargetData.cpp
test/CodeGen/X86/widen_load-2.ll