[llvm] r265892 - [X86] Remove unnecessary setOperationAction for SRA v2i64/v4i64 when VLX is suppored. This is already done for SSE2/AVX2 which VLX implies. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 9 22:39:28 PDT 2016


Author: ctopper
Date: Sun Apr 10 00:39:28 2016
New Revision: 265892

URL: http://llvm.org/viewvc/llvm-project?rev=265892&view=rev
Log:
[X86] Remove unnecessary setOperationAction for SRA v2i64/v4i64 when VLX is suppored. This is already done for SSE2/AVX2 which VLX implies. NFC

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=265892&r1=265891&r2=265892&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Apr 10 00:39:28 2016
@@ -1705,8 +1705,6 @@ X86TargetLowering::X86TargetLowering(con
     setOperationAction(ISD::AND,                MVT::v4i32, Legal);
     setOperationAction(ISD::OR,                 MVT::v4i32, Legal);
     setOperationAction(ISD::XOR,                MVT::v4i32, Legal);
-    setOperationAction(ISD::SRA,                MVT::v2i64, Custom);
-    setOperationAction(ISD::SRA,                MVT::v4i64, Custom);
 
     setOperationAction(ISD::SMAX,               MVT::v2i64, Legal);
     setOperationAction(ISD::SMAX,               MVT::v4i64, Legal);




More information about the llvm-commits mailing list