1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
llvm-mirror/test/Transforms/InstCombine/default-alignment.ll
Eric Christopher a62270de2c Revert "Temporarily Revert "Add basic loop fusion pass.""
The reversion apparently deleted the test/Transforms directory.

Will be re-reverting again.

llvm-svn: 358552
2019-04-17 04:52:47 +00:00

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
}