aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-23 19:41:15 +0000
committerDan Gohman <gohman@apple.com>2010-04-23 19:41:15 +0000
commit6e8fd9060253a29483ce628f6831786053516260 (patch)
tree38a2b5a336660bae384e0f2def743febbc78f743 /test/CodeGen/X86
parentcaf7740f96cdcd47b7ba7fc660b82e1f664363be (diff)
downloadexternal_llvm-6e8fd9060253a29483ce628f6831786053516260.zip
external_llvm-6e8fd9060253a29483ce628f6831786053516260.tar.gz
external_llvm-6e8fd9060253a29483ce628f6831786053516260.tar.bz2
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
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r--test/CodeGen/X86/widen_load-2.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/widen_load-2.ll b/test/CodeGen/X86/widen_load-2.ll
index 658c051..551704c 100644
--- a/test/CodeGen/X86/widen_load-2.ll
+++ b/test/CodeGen/X86/widen_load-2.ll
@@ -24,10 +24,10 @@ define void @add3i32_2(%i32vec3* sret %ret, %i32vec3* %ap, %i32vec3* %bp) {
; CHECK: paddd
; CHECK: pextrd
; CHECK: movq
- %a = load %i32vec3* %ap
- %b = load %i32vec3* %bp
+ %a = load %i32vec3* %ap, align 8
+ %b = load %i32vec3* %bp, align 8
%x = add %i32vec3 %a, %b
- store %i32vec3 %x, %i32vec3* %ret
+ store %i32vec3 %x, %i32vec3* %ret, align 8
ret void
}