brintos

brintos / llvm-project-archived public Read only

0
0
Text · 322 B · 73d57cf Raw
18 lines · plain
1; RUN: llc -mtriple=armv7-linux-gnu < %s -o - | FileCheck %s2 3define void @test1(ptr %p, ptr %q) {4; CHECK:       ldrb5; CHECK-NEXT:  mov6; CHECK-NEXT:  and7; CHECK-NEXT:  strh8; CHECK-NEXT:  bx9 10  %1 = load i8, ptr %p11  %2 = shl i8 %1, 212  %3 = and i8 %2, 1213  %4 = zext i8 %3 to i1614  store i16 %4, ptr %q15  ret void16}17 18