Minor patch to trace back through target shuffles to the source of the inserted element in a (V)INSERTPS shuffle.
Follow up to D16072.
Paths
| Differential D16652
[X86][SSE] Find source of the inserted element of INSERTPS ClosedPublic Authored by RKSimon on Jan 27 2016, 2:53 PM.
Details Summary Minor patch to trace back through target shuffles to the source of the inserted element in a (V)INSERTPS shuffle. Follow up to D16072.
Diff Detail
Event TimelineRKSimon updated this object. spatel edited edge metadata. Comment ActionsLGTM. One idealistic shuffle mask suggestion. :)
This revision is now accepted and ready to land.Jan 31 2016, 9:15 AM Closed by commit rL259343: [X86][SSE] Find source of the inserted element of INSERTPS (authored by RKSimon). · Explain WhyFeb 1 2016, 1:03 AM This revision was automatically updated to reflect the committed changes. Comment Actions Thanks Sanjay. I've added the isUndefOrZero helepr function - which can be used with target shuffle combines (but not lowering).
Revision Contents
Diff 46511 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/test/CodeGen/X86/sse41.ll
|