mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00:00
Remove unnecessary AVX checks
llvm-svn: 138850
This commit is contained in:
parent
fe3f3344a6
commit
a9c2c56e13
@ -3232,14 +3232,14 @@ let Predicates = [HasAVX] in {
|
||||
|
||||
def : Pat<(v4i32 (X86PShufd (bc_v4i32 (memopv2i64 addr:$src1)),
|
||||
(i8 imm:$imm))),
|
||||
(VPSHUFDmi addr:$src1, imm:$imm)>, Requires<[HasAVX]>;
|
||||
(VPSHUFDmi addr:$src1, imm:$imm)>;
|
||||
def : Pat<(v4i32 (X86PShufd (bc_v4i32 (memopv4f32 addr:$src1)),
|
||||
(i8 imm:$imm))),
|
||||
(VPSHUFDmi addr:$src1, imm:$imm)>;
|
||||
def : Pat<(v4f32 (X86PShufd VR128:$src1, (i8 imm:$imm))),
|
||||
(VPSHUFDri VR128:$src1, imm:$imm)>, Requires<[HasAVX]>;
|
||||
(VPSHUFDri VR128:$src1, imm:$imm)>;
|
||||
def : Pat<(v4i32 (X86PShufd VR128:$src1, (i8 imm:$imm))),
|
||||
(VPSHUFDri VR128:$src1, imm:$imm)>, Requires<[HasAVX]>;
|
||||
(VPSHUFDri VR128:$src1, imm:$imm)>;
|
||||
def : Pat<(v8i16 (X86PShufhw VR128:$src, (i8 imm:$imm))),
|
||||
(VPSHUFHWri VR128:$src, imm:$imm)>;
|
||||
def : Pat<(v8i16 (X86PShufhw (bc_v8i16 (memopv2i64 addr:$src)),
|
||||
|
Loading…
Reference in New Issue
Block a user