brintos

brintos / llvm-project-archived public Read only

0
0
Text · 331 B · 5ddc9f0 Raw
15 lines · plain
1; RUN: llc < %s -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s2 3; No need to sign-extend undef.4 5define i32 @t(ptr %a) nounwind {6entry:7; CHECK-LABEL: t:8; CHECK: ldr r0, [r0]9; CHECK: bx lr10  %0 = sext i16 undef to i3211  %1 = getelementptr inbounds i32, ptr %a, i32 %012  %2 = load i32, ptr %1, align 413  ret i32 %214}15