X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FSystemZ%2Fatomicrmw-xchg-02.ll;h=04be623ada89217b7c4a34353ae1fad306bc3d34;hb=76b6b15dcdfdcdeb4d6716a45e5badc99f8a5dfa;hp=31f802625a3204b206ac1e98b33c6b58e705e50f;hpb=b503b49b5105b6aad7d2a015468b84b0f64dfe8e;p=oota-llvm.git diff --git a/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll b/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll index 31f802625a3..04be623ada8 100644 --- a/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll +++ b/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll @@ -11,7 +11,7 @@ ; being used in the RISBG (in contrast to things like atomic addition, ; which shift %r3 left so that %b is at the high end of the word). define i16 @f1(i16 *%src, i16 %b) { -; CHECK: f1: +; CHECK-LABEL: f1: ; CHECK: sllg [[SHIFT:%r[1-9]+]], %r2, 3 ; CHECK: nill %r2, 65532 ; CHECK: l [[OLD:%r[0-9]+]], 0(%r2) @@ -20,11 +20,11 @@ define i16 @f1(i16 *%src, i16 %b) { ; CHECK: risbg [[ROT]], %r3, 32, 47, 16 ; CHECK: rll [[NEW:%r[0-9]+]], [[ROT]], 0({{%r[1-9]+}}) ; CHECK: cs [[OLD]], [[NEW]], 0(%r2) -; CHECK: j{{g?}}lh [[LABEL]] +; CHECK: jl [[LABEL]] ; CHECK: rll %r2, [[OLD]], 16([[SHIFT]]) ; CHECK: br %r14 ; -; CHECK-SHIFT: f1: +; CHECK-SHIFT-LABEL: f1: ; CHECK-SHIFT-NOT: %r3 ; CHECK-SHIFT: sllg [[SHIFT:%r[1-9]+]], %r2, 3 ; CHECK-SHIFT-NOT: %r3 @@ -43,12 +43,12 @@ define i16 @f1(i16 *%src, i16 %b) { ; Check exchange with a constant. We should force the constant into ; a register and use the sequence above. define i16 @f2(i16 *%src) { -; CHECK: f2: +; CHECK-LABEL: f2: ; CHECK: lhi [[VALUE:%r[0-9]+]], -25536 ; CHECK: risbg {{%r[0-9]+}}, [[VALUE]], 32, 47, 16 ; CHECK: br %r14 ; -; CHECK-SHIFT: f2: +; CHECK-SHIFT-LABEL: f2: ; CHECK-SHIFT: br %r14 %res = atomicrmw xchg i16 *%src, i16 40000 seq_cst ret i16 %res