aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/default-alignment.ll
blob: 718da2136717ba9444101df89e84ff0a1488f3a9 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: opt -verify -instcombine < %s
%Foo = type <{ i8, x86_fp80 }>

define i8 @t(%Foo* %arg) {
entry:
  %0 = getelementptr %Foo, %Foo* %arg, i32 0, i32 0
  %1 = load i8, i8* %0, align 1
  ret i8 %1
}