brintos

brintos / llvm-project-archived public Read only

0
0
Text · 388 B · 53653a5 Raw
13 lines · plain
1; RUN: llc -mtriple=thumbv7-apple-ios -O0 -o - %s | FileCheck %s2 3; We used to accidentally create both an ARM and a Thumb ldr here. It led to an4; assertion failure at the time, but could go all the way through to emission,5; hence the CHECK-NOT.6 7define i32 @test_thumb_ldrlit() minsize {8; CHECK-LABEL: test_thumb_ldrlit:9; CHECK: ldr r0, LCPI0_010; CHECK-NOT: ldr11  ret i32 1234567812}13