
The Prefix instruction is introduced on PowerPC ISA3_1. In the PR, 1. The `FeaturePrefixInstrs` do not imply the `FeatureP8Vector` ,`FeatureP9Vector` . 2. `FeaturePrefixInstrs` implies only the FeatureISA3_1. 3. For the prefix instructions `paddi` and `pli` , they have `Predicates = [PrefixInstrs] ` 4. For the prefix instructions `plfs` and `plfd`, they have `Predicates = [PrefixInstrs, HasFPU] ` 5. For the prefix instructions "plxv` , "plxssp` and `plxsd` , they have `Predicates = [PrefixInstrs, HasP10Vector]` Fixes #62372
14 lines
297 B
LLVM
14 lines
297 B
LLVM
; RUN: llc -ppc-asm-full-reg-names -mcpu=pwr10 -mtriple powerpc64le-unknown-linux-gnu \
|
|
; RUN: -o - %s | FileCheck %s
|
|
|
|
@bar = dso_local global i32 0, align 4
|
|
|
|
define dso_local ptr @foo() #0 {
|
|
entry:
|
|
ret ptr @bar
|
|
}
|
|
|
|
attributes #0 = { "use-soft-float"="true" }
|
|
|
|
; CHECK: paddi r3, 0, bar@PCREL, 1
|