[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / PowerPC / p10-check-features.ll
blob1fde1ff00d68f9080e4c5048f9abf2bcb1a1f82b
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
8 define dso_local signext i32 @f() {
9 entry:
10   ret i32 0
13 ; Make sure that all of the features listed are recognized.
14 ; CHECK-NOT:    is not a recognized feature for this target
16 ; Make sure that the test was actually compiled.
17 ; CHECK:        li r3, 0
18 ; CHECK-NEXT:   blr