diff options
Diffstat (limited to 'test/CodeGen/Hexagon/ctlz-cttz-ctpop.ll')
-rw-r--r-- | test/CodeGen/Hexagon/ctlz-cttz-ctpop.ll | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CodeGen/Hexagon/ctlz-cttz-ctpop.ll b/test/CodeGen/Hexagon/ctlz-cttz-ctpop.ll index e942f8d0c5dd..b8f483298f8c 100644 --- a/test/CodeGen/Hexagon/ctlz-cttz-ctpop.ll +++ b/test/CodeGen/Hexagon/ctlz-cttz-ctpop.ll @@ -1,8 +1,10 @@ ; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s -; CHECK: r{{[0-9]+}}:{{[0-9]+}} |= lsr(r{{[0-9]+}}:{{[0-9]+}}, #4) -; CHECK: r{{[0-9]+}}:{{[0-9]+}} &= lsr(r{{[0-9]+}}:{{[0-9]+}}, #2) -; CHECK: r{{[0-9]+}} += lsr(r{{[0-9]+}}, #4) +; CHECK-DAG: ct0({{r[0-9]*:[0-9]*}}) +; CHECK-DAG: cl0({{r[0-9]*:[0-9]*}}) +; CHECK-DAG: ct0({{r[0-9]*}}) +; CHECK-DAG: cl0({{r[0-9]*}}) +; CHECK-DAG: r{{[0-9]+}} += lsr(r{{[0-9]+}}, #4) define i32 @foo(i64 %a, i32 %b) nounwind { entry: |