ScheduleDAGInstrs: When adding uses we add them into a set that's empty at the beginn...
[oota-llvm.git] / test / Transforms / InstCombine / 2012-03-16-StoreAlignment.ll
1 ; RUN: opt < %s -S -instcombine | FileCheck %s                                                                                                                                                                          
2 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
3
4 %0 = type { i32, i8, i8, i8 }
5
6 @G = external hidden global %0, align 4
7
8 define void @f1(i64 %a1) nounwind ssp align 2 {
9 ; CHECK: store i64 %a1, i64* bitcast (%0* @G to i64*), align 4                                                                                                                                                          
10   store i64 %a1, i64* bitcast (%0* @G to i64*)
11   ret void
12 }