Debian Codegraph @

llvm/test/CodeGen/PowerPC/p10-check-features.ll

raw
1 ; RUN: llc -mattr=mma,isa-v31-instructions,pcrelative-memops,prefix-instrs,paired-vector-memops,rop-protect,privileged \
2 ; RUN: -mtriple=powerpc64le-unknown-unknown -ppc-asm-full-reg-names \
3 ; RUN: %s -o - 2>&1 | FileCheck %s
4 ; RUN: llc -mattr=mma,isa-v31-instructions,pcrelative-memops,prefix-instrs,paired-vector-memops,rop-protect,privileged \
5 ; RUN: -mtriple=powerpc64-unknown-unknown -ppc-asm-full-reg-names \
6 ; RUN: %s -o - 2>&1 | FileCheck %s
7
8 define dso_local signext i32 @f() {
9 entry:
10 ret i32 0
11 }
12
13 ; Make sure that all of the features listed are recognized.
14 ; CHECK-NOT: is not a recognized feature for this target
15
16 ; Make sure that the test was actually compiled.
17 ; CHECK: li r3, 0
18 ; CHECK-NEXT: blr