[PATCH] D89195: [PowerPC][Power10] Exploit store rightmost vector element instructions.
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 28 07:27:39 PST 2020
nemanjai added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCInstrPrefix.td:2564
+ def : Pat<(store (i32 (extractelt v4i32:$src, 0)), xoaddr:$dst),
+ (STXVRWX (COPY_TO_REGCLASS v4i32:$src, VSRC), xoaddr:$dst)>;
+ def : Pat<(store (f32 (extractelt v4f32:$src, 0)), xoaddr:$dst),
----------------
This `COPY_TO_REGCLASS` and below are redundant and could cause issues in the future. Fixed in `e73f885c988d`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89195/new/
https://reviews.llvm.org/D89195
More information about the llvm-commits
mailing list