1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-unknown -mcpu=pwr7 < %s | FileCheck %s
3 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown -mcpu=pwr8 < %s | FileCheck %s
4 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-aix -mcpu=pwr7 < %s | FileCheck %s
6 define i64 @test_cmpb(i64 %a, i64 %b) {
7 ; CHECK-LABEL: test_cmpb:
8 ; CHECK: # %bb.0: # %entry
9 ; CHECK-NEXT: cmpb 3, 3, 4
12 %cmpb = tail call i64 @llvm.ppc.cmpb.i64.i64.i64(i64 %a, i64 %b)
16 declare i64 @llvm.ppc.cmpb.i64.i64.i64(i64, i64)