1 ; RUN: llc < %s -mcpu=corei7 -march=x86 -verify-machineinstrs | FileCheck %s
3 ; 64-bit load/store on x86-32
4 ; FIXME: The generated code can be substantially improved.
6 define void @test1(i64* %ptr, i64 %val1) {
8 ; CHECK: lock cmpxchg8b
10 store atomic i64 %val1, i64* %ptr seq_cst, align 8
14 define i64 @test2(i64* %ptr) {
16 ; CHECK: lock cmpxchg8b
17 %val = load atomic i64, i64* %ptr seq_cst, align 8