xref: /aosp_15_r20/external/llvm/test/CodeGen/PowerPC/pwr3-6x.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; Test basic support for some older processors.
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker;RUN: llc < %s -march=ppc64 -mcpu=pwr3 | FileCheck %s
4*9880d681SAndroid Build Coastguard Worker;RUN: llc < %s -march=ppc64 -mcpu=pwr4 | FileCheck %s
5*9880d681SAndroid Build Coastguard Worker;RUN: llc < %s -march=ppc64 -mcpu=pwr5 | FileCheck %s
6*9880d681SAndroid Build Coastguard Worker;RUN: llc < %s -march=ppc64 -mcpu=pwr5x | FileCheck %s
7*9880d681SAndroid Build Coastguard Worker;RUN: llc < %s -march=ppc64 -mcpu=pwr6x | FileCheck %s
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Workerdefine void @foo() {
10*9880d681SAndroid Build Coastguard Workerentry:
11*9880d681SAndroid Build Coastguard Worker  ret void
12*9880d681SAndroid Build Coastguard Worker}
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard Worker; CHECK: @foo
15