brintos

brintos / llvm-project-archived public Read only

0
0
Text · 648 B · 1b7027a Raw
27 lines · plain
1; RUN: llc < %s2 3; Make sure we are not crashing on this one.4 5target triple = "x86_64-unknown-linux-gnu"6 7%"Iterator" = type { ptr }8 9declare { i64, <2 x float> } @Call() 10declare ptr @CallPtr() 11 12define { i64, <2 x float> } @Foo(ptr %this) {13entry:14  %retval = alloca i3215  %this.addr = alloca ptr16  %this1 = load ptr, ptr %this.addr17  %0 = load ptr, ptr %this118  %1 = call { i64, <2 x float> } @Call()19  %2 = call ptr @CallPtr()20  %3 = getelementptr { i64, <2 x float> }, ptr %2, i32 0, i32 121  %4 = extractvalue { i64, <2 x float> } %1, 122  store <2 x float> %4, ptr %323  %5 = load { i64, <2 x float> }, ptr %224  ret { i64, <2 x float> } %525}26 27