[llvm] [PowerPC] option `-msoft-float` should not block the PC-relative address instruction (PR #92543)
Chen Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sun May 19 19:48:30 PDT 2024
================
@@ -1157,15 +1173,15 @@ let Predicates = [PairedVectorMemops] in {
// Intrinsics for Paired Vector Loads.
def : Pat<(v256i1 (int_ppc_vsx_lxvp DQForm:$src)), (LXVP memrix16:$src)>;
def : Pat<(v256i1 (int_ppc_vsx_lxvp XForm:$src)), (LXVPX XForm:$src)>;
- let Predicates = [PairedVectorMemops, PrefixInstrs] in {
+ let Predicates = [PairedVectorMemops, PrefixInstrs, HasP10Vector] in {
def : Pat<(v256i1 (int_ppc_vsx_lxvp PDForm:$src)), (PLXVP memri34:$src)>;
}
// Intrinsics for Paired Vector Stores.
def : Pat<(int_ppc_vsx_stxvp v256i1:$XSp, DQForm:$dst),
(STXVP $XSp, memrix16:$dst)>;
def : Pat<(int_ppc_vsx_stxvp v256i1:$XSp, XForm:$dst),
(STXVPX $XSp, XForm:$dst)>;
- let Predicates = [PairedVectorMemops, PrefixInstrs] in {
+ let Predicates = [PairedVectorMemops, PrefixInstrs, HasP10Vector] in {
----------------
chenzheng1030 wrote:
There are some other def/pat with predicate `PrefixInstrs` unfixed? For example, at line 1338, 1364, 2145, 2282.
https://github.com/llvm/llvm-project/pull/92543
More information about the llvm-commits
mailing list