mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
c03496d4d0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231613 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|
|
|