mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
[X86] Remove isel patterns for X86Movhlps and X86Movlhps with integer types. Lowering doesn't emit these.
llvm-svn: 313492
This commit is contained in:
parent
18143e1869
commit
50e9e8ffcb
@ -6055,18 +6055,6 @@ def VMOVHLPSZrr : AVX512PSI<0x12, MRMSrcReg, (outs VR128X:$dst),
|
||||
[(set VR128X:$dst, (v4f32 (X86Movhlps VR128X:$src1, VR128X:$src2)))],
|
||||
IIC_SSE_MOV_LH>, EVEX_4V;
|
||||
|
||||
let Predicates = [HasAVX512] in {
|
||||
// MOVLHPS patterns
|
||||
def : Pat<(v4i32 (X86Movlhps VR128X:$src1, VR128X:$src2)),
|
||||
(VMOVLHPSZrr VR128X:$src1, VR128X:$src2)>;
|
||||
def : Pat<(v2i64 (X86Movlhps VR128X:$src1, VR128X:$src2)),
|
||||
(VMOVLHPSZrr (v2i64 VR128X:$src1), VR128X:$src2)>;
|
||||
|
||||
// MOVHLPS patterns
|
||||
def : Pat<(v4i32 (X86Movhlps VR128X:$src1, VR128X:$src2)),
|
||||
(VMOVHLPSZrr VR128X:$src1, VR128X:$src2)>;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// VMOVHPS/PD VMOVLPS Instructions
|
||||
// All patterns was taken from SSS implementation.
|
||||
|
@ -1136,30 +1136,6 @@ let Constraints = "$src1 = $dst", AddedComplexity = 20 in {
|
||||
IIC_SSE_MOV_LH>, Sched<[WriteFShuffle]>;
|
||||
}
|
||||
|
||||
let Predicates = [UseAVX] in {
|
||||
// MOVLHPS patterns
|
||||
def : Pat<(v4i32 (X86Movlhps VR128:$src1, VR128:$src2)),
|
||||
(VMOVLHPSrr VR128:$src1, VR128:$src2)>;
|
||||
def : Pat<(v2i64 (X86Movlhps VR128:$src1, VR128:$src2)),
|
||||
(VMOVLHPSrr (v2i64 VR128:$src1), VR128:$src2)>;
|
||||
|
||||
// MOVHLPS patterns
|
||||
def : Pat<(v4i32 (X86Movhlps VR128:$src1, VR128:$src2)),
|
||||
(VMOVHLPSrr VR128:$src1, VR128:$src2)>;
|
||||
}
|
||||
|
||||
let Predicates = [UseSSE1] in {
|
||||
// MOVLHPS patterns
|
||||
def : Pat<(v4i32 (X86Movlhps VR128:$src1, VR128:$src2)),
|
||||
(MOVLHPSrr VR128:$src1, VR128:$src2)>;
|
||||
def : Pat<(v2i64 (X86Movlhps VR128:$src1, VR128:$src2)),
|
||||
(MOVLHPSrr (v2i64 VR128:$src1), VR128:$src2)>;
|
||||
|
||||
// MOVHLPS patterns
|
||||
def : Pat<(v4i32 (X86Movhlps VR128:$src1, VR128:$src2)),
|
||||
(MOVHLPSrr VR128:$src1, VR128:$src2)>;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// SSE 1 & 2 - Conversion Instructions
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user