If we have the situation where a Swap feeds a Splat we can sometimes change the index on the Splat and then remove the Swap instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
First pass on review.
lib/Target/PowerPC/PPCMIPeephole.cpp | ||
---|---|---|
379 ↗ | (On Diff #119346) | A bit more elaborate description here please. |
389–391 ↗ | (On Diff #119346) | Style wise we try to avoid single statements in braces. |
test/CodeGen/PowerPC/ppc64-peephole-swap.ll | ||
1 ↗ | (On Diff #119346) | Please add a description of what the testcase is supposed to be testing for each case. |
Comment Actions
Sorry for the late reply Eric. I was on vacation Thursday and Friday last week.
I've made the changes you mentioned.