From fe731214d2529f7b30527fc312964af411867dd0 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 13 Sep 2011 20:50:54 +0000 Subject: Error out on CodeGen of unaligned load/store. Fix test so it isn't accidentally testing that case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139641 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/atomic-load-store-wide.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/CodeGen/X86/atomic-load-store-wide.ll') diff --git a/test/CodeGen/X86/atomic-load-store-wide.ll b/test/CodeGen/X86/atomic-load-store-wide.ll index 227883e..a9ebfef 100644 --- a/test/CodeGen/X86/atomic-load-store-wide.ll +++ b/test/CodeGen/X86/atomic-load-store-wide.ll @@ -7,13 +7,13 @@ define void @test1(i64* %ptr, i64 %val1) { ; CHECK: test1 ; CHECK: cmpxchg8b ; CHECK-NEXT: jne - store atomic i64 %val1, i64* %ptr seq_cst, align 4 + store atomic i64 %val1, i64* %ptr seq_cst, align 8 ret void } define i64 @test2(i64* %ptr) { ; CHECK: test2 ; CHECK: cmpxchg8b - %val = load atomic i64* %ptr seq_cst, align 4 + %val = load atomic i64* %ptr seq_cst, align 8 ret i64 %val } -- cgit v1.1