This intrinsic is supposed to have the permute control vector complemented on little endian systems (as the ABI specifies and GCC implements). With the current code gen, the result vector is byte-reversed.
Details
Details
- Reviewers
saghir NeHuang amyk - Group Reviewers
Restricted Project - Commits
- rG1150bfa6bb09: [PowerPC] Add missing negate for VPERMXOR on little endian subtargets
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/PowerPC/PPCInstrVSX.td | ||
---|---|---|
2425 | s/system/subtargets |
llvm/test/CodeGen/PowerPC/crypto_bifs.ll | ||
---|---|---|
2 | nit: Is it necessary to add "--check-prefix=CHECK" in line 2 and line 6? |
Comment Actions
Also LGTM.
llvm/lib/Target/PowerPC/PPCInstrVSX.td | ||
---|---|---|
2426 | nit: Maybe add the new predicates in the Predicate combinations available comment? :) |
s/system/subtargets