aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-08-15 05:52:02 +0000
committerCraig Topper <craig.topper@intel.com>2019-08-15 05:52:02 +0000
commitdbcbbf5658d82a84eadaeab3df7535a4faa39be9 (patch)
tree80cc0705d8f23548e483566601716472144b2727
parenta57734ba4ef2917e7bae064f2b1f592293ac8c69 (diff)
downloadllvm-dbcbbf5658d82a84eadaeab3df7535a4faa39be9.zip
llvm-dbcbbf5658d82a84eadaeab3df7535a4faa39be9.tar.gz
llvm-dbcbbf5658d82a84eadaeab3df7535a4faa39be9.tar.bz2
[X86] Remove unneeded isel pattern for v4f32->v4i32 fp_to_sint and conversion to MMX.
fp_to_sint is turned into X86cvttp2si during isel preprocessing. The other redundant isel patterns were removed previously, but I missed this one because its in the MMX td file. llvm-svn: 368968
-rw-r--r--llvm/lib/Target/X86/X86InstrMMX.td3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86InstrMMX.td b/llvm/lib/Target/X86/X86InstrMMX.td
index 57835b1..93e1cbd 100644
--- a/llvm/lib/Target/X86/X86InstrMMX.td
+++ b/llvm/lib/Target/X86/X86InstrMMX.td
@@ -602,9 +602,6 @@ def : Pat<(x86mmx (MMX_X86movdq2q
(bc_v2i64 (v4i32 (X86cvttp2si (v4f32 VR128:$src)))))),
(MMX_CVTTPS2PIirr VR128:$src)>;
def : Pat<(x86mmx (MMX_X86movdq2q
- (bc_v2i64 (v4i32 (fp_to_sint (v4f32 VR128:$src)))))),
- (MMX_CVTTPS2PIirr VR128:$src)>;
-def : Pat<(x86mmx (MMX_X86movdq2q
(bc_v2i64 (v4i32 (X86cvtp2Int (v2f64 VR128:$src)))))),
(MMX_CVTPD2PIirr VR128:$src)>;
def : Pat<(x86mmx (MMX_X86movdq2q