1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -verify-machineinstrs -mtriple powerpc64le -mcpu=pwr9 | FileCheck %s
3 ; RUN: llc < %s -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff -vec-extabi -mcpu=pwr9 | FileCheck %s
7 ; CHECK: # %bb.0: # %entry
8 ; CHECK-NEXT: darn 3, 2
11 %0 = call i64 @llvm.ppc.darnraw()
15 define i64 @conditioned() {
16 ; CHECK-LABEL: conditioned:
17 ; CHECK: # %bb.0: # %entry
18 ; CHECK-NEXT: darn 3, 1
21 %0 = call i64 @llvm.ppc.darn()
25 define signext i32 @word() {
27 ; CHECK: # %bb.0: # %entry
28 ; CHECK-NEXT: darn 3, 0
29 ; CHECK-NEXT: extsw 3, 3
32 %0 = call i32 @llvm.ppc.darn32()
36 declare i64 @llvm.ppc.darn()
37 declare i64 @llvm.ppc.darnraw()
38 declare i32 @llvm.ppc.darn32()