[TableGen] Split DAGISelMatcherOpt FactorNodes into 2 functions. NFC (#125330)
[llvm-project.git] / llvm / test / CodeGen / PowerPC / aix-cpu-version-multifunction.ll
blob2cdb864f450bd2ae2e9482cb9915f24b6313fe63
1 ; RUN: llc -verify-machineinstrs -mtriple powerpc64-ibm-aix-xcoff  < %s | FileCheck %s
3 ; For the .machine directive emitted on AIX, the "target-cpu" attribute that is
4 ; the newest will be used as the CPU for the module (in this case, PWR10).
6 ; CHECK:      .file "file.c"
7 ; CHECK-NEXT: .csect ..text..[PR],5
8 ; CHECK-NEXT: .rename ..text..[PR],""
9 ; CHECK-NEXT: .machine "PWR10"
10 ; CHECK-NOT:  .machine "PWR8"
12 source_filename = "file.c"
14 define dso_local signext i32 @testFunc1() #0 {
15 entry:
16   %retval = alloca i32, align 4
17   store i32 0, ptr %retval, align 4
18   ret i32 0
21 define dso_local signext i32 @testFunc2() #1 {
22 entry:
23   %retval = alloca i32, align 4
24   store i32 0, ptr %retval, align 4
25   ret i32 0
28 attributes #0 = { "target-cpu" = "pwr8" }
29 attributes #1 = { "target-cpu" = "pwr10" }