Some more refactoring for G_INSERT_VECTOR_ELT.
Factor out the code used to find a lane index from selectExtractElt. Put it into a more general-purpose getConstantValueForReg function.
This will be shared with the code for G_INSERT_VECTOR_ELT.
Paths
| Differential D59324
[GlobalISel][AArch64] Gardening: Factor out code to find lane indices ClosedPublic Authored by paquette on Mar 13 2019, 1:46 PM.
Details Summary Some more refactoring for G_INSERT_VECTOR_ELT. Factor out the code used to find a lane index from selectExtractElt. Put it into a more general-purpose getConstantValueForReg function. This will be shared with the code for G_INSERT_VECTOR_ELT.
Diff Detail
Event TimelineHerald added subscribers: Petar.Avramovic, hiraditya, kristof.beyls and 2 others. · View Herald Transcript This revision is now accepted and ready to land.Mar 13 2019, 2:05 PM Closed by commit rL356101: [GlobalISel][AArch64] Gardening: Factor out code to find lane indices (authored by paquette). · Explain WhyMar 13 2019, 2:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 190507 llvm/trunk/lib/Target/AArch64/AArch64InstructionSelector.cpp
|