Add a dag combine to xform 256-bit shuffles into simple vector
inserts and extracts. This simple combine makes us generate only 1 instruction instead of 11 in the v8 case. llvm-svn: 137362
Showing
- llvm/lib/Target/X86/X86ISelLowering.cpp 54 additions, 1 deletionllvm/lib/Target/X86/X86ISelLowering.cpp
- llvm/test/CodeGen/X86/avx-vextractf128.ll 18 additions, 0 deletionsllvm/test/CodeGen/X86/avx-vextractf128.ll
- llvm/test/CodeGen/X86/avx-vinsertf128.ll 18 additions, 0 deletionsllvm/test/CodeGen/X86/avx-vinsertf128.ll
Loading
Please register or sign in to comment