view test/Transforms/InstCombine/default-alignment.ll @ 147:c2174574ed3a

LLVM 10
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Aug 2019 16:55:33 +0900
parents afa8332a0e37
children
line wrap: on
line source

; 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
}