1 ; RUN: llc < %s -march=xcore -asm-verbose=0 | FileCheck %s
3 ; MachineLICM should hoist the LDWCP out of the loop.
6 ; CHECK-NEXT: ldw [[REG:r[0-9]+]], cp[.LCPI0_0]
8 ; CHECK-NEXT: stw [[REG]], r0[0]
9 ; CHECK-NEXT: bu .LBB0_1
11 define void @f(ptr nocapture %p) noreturn nounwind {
15 bb: ; preds = %bb, %entry
16 store volatile i32 525509670, ptr %p, align 4