llvm-project/llvm/test/Transforms/ScalarRepl/2009-01-09-scalarrepl-empty.ll

16 lines
498 B
LLVM
Raw Normal View History

; RUN: opt < %s -scalarrepl | llvm-dis
2009-01-10 02:18:43 +08:00
; PR3304
%struct.c37304a__vrec = type { i8, %struct.c37304a__vrec___disc___XVN }
%struct.c37304a__vrec___disc___XVN = type {
%struct.c37304a__vrec___disc___XVN___O }
%struct.c37304a__vrec___disc___XVN___O = type { }
define void @_ada_c37304a() {
entry:
%v = alloca %struct.c37304a__vrec
2009-01-10 02:18:43 +08:00
%0 = getelementptr %struct.c37304a__vrec* %v, i32 0, i32 0
store i8 8, i8* %0, align 1
unreachable
}