34 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \3; RUN: -mcpu=pwr9 < %s | FileCheck %s4; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \5; RUN: -mcpu=pwr9 < %s | FileCheck %s6; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-aix \7; RUN: -mcpu=pwr9 < %s | FileCheck %s8 9define dso_local i64 @test_builtin_ppc_cmpeqb(i64 %a, i64 %b) {10; CHECK-LABEL: test_builtin_ppc_cmpeqb:11; CHECK: # %bb.0: # %entry12; CHECK-NEXT: cmpeqb 0, 3, 413; CHECK-NEXT: setb 3, 014; CHECK-NEXT: blr15entry:16 %0 = call i64 @llvm.ppc.cmpeqb(i64 %a, i64 %b)17 ret i64 %018}19 20declare i64 @llvm.ppc.cmpeqb(i64, i64)21 22define dso_local i64 @test_builtin_ppc_setb(i64 %a, i64 %b) {23; CHECK-LABEL: test_builtin_ppc_setb:24; CHECK: # %bb.0: # %entry25; CHECK-NEXT: cmpd 3, 426; CHECK-NEXT: setb 3, 027; CHECK-NEXT: blr28entry:29 %0 = call i64 @llvm.ppc.setb(i64 %a, i64 %b)30 ret i64 %031}32 33declare i64 @llvm.ppc.setb(i64, i64)34