-
- Downloads
[X86] Add getPack helper
This helper provides a more complete approach for lowering to X86ISD::PACKSS/PACKUS nodes - testing for existing suitable sign/zero extension before recreating it. It also optionally packs the upper half instead of the lower half.
Showing
- llvm/lib/Target/X86/X86ISelLowering.cpp 57 additions, 19 deletionsllvm/lib/Target/X86/X86ISelLowering.cpp
- llvm/test/CodeGen/X86/vector-fshl-128.ll 10 additions, 14 deletionsllvm/test/CodeGen/X86/vector-fshl-128.ll
- llvm/test/CodeGen/X86/vector-fshl-rot-128.ll 10 additions, 14 deletionsllvm/test/CodeGen/X86/vector-fshl-rot-128.ll
- llvm/test/CodeGen/X86/vector-fshr-128.ll 10 additions, 14 deletionsllvm/test/CodeGen/X86/vector-fshr-128.ll
- llvm/test/CodeGen/X86/vector-fshr-rot-128.ll 10 additions, 14 deletionsllvm/test/CodeGen/X86/vector-fshr-rot-128.ll
- llvm/test/CodeGen/X86/vector-rotate-128.ll 10 additions, 14 deletionsllvm/test/CodeGen/X86/vector-rotate-128.ll
- llvm/test/CodeGen/X86/vector-shift-shl-128.ll 10 additions, 14 deletionsllvm/test/CodeGen/X86/vector-shift-shl-128.ll
- llvm/test/CodeGen/X86/vector-shift-shl-sub128.ll 20 additions, 28 deletionsllvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
Loading
Please register or sign in to comment