source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/fastisel-thumb-litpool.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 354 bytes
Line 
1; RUN: llc -mtriple=thumbv7-apple-ios -O0 -o - %s | FileCheck %s
2
3; We used to accidentally create both an ARM and a Thumb ldr here. It led to an
4; 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: ldr r0, LCPI0_0
9; CHECK-NOT: ldr
10  ret i32 12345678
11}
Note: See TracBrowser for help on using the repository browser.