Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / PowerPC / builtins-ppc-p10.c
blob38c8988a3e37ceabb556590d8440357cd2fabfe5
1 // REQUIRES: powerpc-registered-target
2 // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-cpu pwr10 \
3 // RUN: -emit-llvm %s -o - | FileCheck %s
5 unsigned long long ulla, ullb;
7 unsigned long long test_pdepd(void) {
8 // CHECK: @llvm.ppc.pdepd
9 return __builtin_pdepd(ulla, ullb);
12 unsigned long long test_pextd(void) {
13 // CHECK: @llvm.ppc.pextd
14 return __builtin_pextd(ulla, ullb);
17 unsigned long long test_cfuged(void) {
18 // CHECK: @llvm.ppc.cfuged
19 return __builtin_cfuged(ulla, ullb);
22 unsigned long long test_cntlzdm(void) {
23 // CHECK: @llvm.ppc.cntlzdm
24 return __builtin_cntlzdm(ulla, ullb);
27 unsigned long long test_cnttzdm(void) {
28 // CHECK: @llvm.ppc.cnttzdm
29 return __builtin_cnttzdm(ulla, ullb);