[Clang] replace 'bitfield' with 'bit-field' for consistency (#117881)
[llvm-project.git] / llvm / test / CodeGen / PowerPC / builtins-ppc-xlcompat-cmpb-64.ll
blob28bb351f97b8f0461232a1aaa3162fa185360504
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
10 ; CHECK-NEXT:    blr
11 entry:
12   %cmpb = tail call i64 @llvm.ppc.cmpb.i64.i64.i64(i64 %a, i64 %b)
13   ret i64 %cmpb
16 declare i64 @llvm.ppc.cmpb.i64.i64.i64(i64, i64)