8625704ad8
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
11 lines
202 B
LLVM
11 lines
202 B
LLVM
; 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
|
|
}
|
|
|