1# RUN: not llc -mtriple arm-unknown -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2--- |
3  target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
4
5  @g = private global i32 4
6  define void @target_constant_pool() { ret void }
7...
8---
9name:            target_constant_pool
10tracksRegLiveness: true
11registers:
12  - { id: 0, class: gpr, preferred-register: '' }
13  - { id: 1, class: gpr, preferred-register: '' }
14constants:
15  - id:              0
16  # CHECK: [[@LINE+1]]:22: Can't parse target-specific constant pool entries yet
17    value:           'g-(LPC0+8)'
18    alignment:       4
19    isTargetSpecific: true
20body:             |
21  bb.0.entry:
22    %0 = LDRi12 %const.0, 0, 14, _ :: (load 4 from constant-pool)
23    %1 = PICLDR killed %0, 0, 14, _ :: (dereferenceable load 4 from @g)
24    %r0 = COPY %1
25    BX_RET 14, _, implicit %r0
26
27...
28