diff options
Diffstat (limited to 'test/CodeGen/PowerPC/bdzlr.ll')
-rw-r--r-- | test/CodeGen/PowerPC/bdzlr.ll | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/bdzlr.ll b/test/CodeGen/PowerPC/bdzlr.ll index e487558..29b74c6 100644 --- a/test/CodeGen/PowerPC/bdzlr.ll +++ b/test/CodeGen/PowerPC/bdzlr.ll @@ -1,4 +1,5 @@ -; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s +; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 -mattr=-crbits | FileCheck %s +; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 | FileCheck %s -check-prefix=CHECK-CRB target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64" target triple = "powerpc64-unknown-linux-gnu" @@ -54,6 +55,12 @@ for.end: ; preds = %for.body, %if.end, ; CHECK: bnelr ; CHECK: bdzlr ; CHECK-NOT: blr + +; CHECK-CRB: @lua_xmove +; CHECK-CRB: bclr 12, +; CHECK-CRB: bclr 12, +; CHECK-CRB: bdzlr +; CHECK-CRB-NOT: blr } attributes #0 = { nounwind } |