Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2014 22:33:27 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r262265 - projects/clang-sparc64/contrib/llvm/lib/Target/Sparc
Message-ID:  <201402202233.s1KMXRjv090686@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Thu Feb 20 22:33:27 2014
New Revision: 262265
URL: http://svnweb.freebsd.org/changeset/base/262265

Log:
  Pull in r201718 from upstream llvm trunk:
  
    Expand 64bit {SHL,SHR,SRA}_PARTS on sparcv9.
  
  Submitted by:	rdivacky

Modified:
  projects/clang-sparc64/contrib/llvm/lib/Target/Sparc/SparcISelLowering.cpp

Modified: projects/clang-sparc64/contrib/llvm/lib/Target/Sparc/SparcISelLowering.cpp
==============================================================================
--- projects/clang-sparc64/contrib/llvm/lib/Target/Sparc/SparcISelLowering.cpp	Thu Feb 20 22:31:45 2014	(r262264)
+++ projects/clang-sparc64/contrib/llvm/lib/Target/Sparc/SparcISelLowering.cpp	Thu Feb 20 22:33:27 2014	(r262265)
@@ -1555,6 +1555,10 @@ SparcTargetLowering::SparcTargetLowering
 
     setOperationAction(ISD::UMULO,     MVT::i64, Custom);
     setOperationAction(ISD::SMULO,     MVT::i64, Custom);
+
+    setOperationAction(ISD::SHL_PARTS, MVT::i64, Expand);
+    setOperationAction(ISD::SRA_PARTS, MVT::i64, Expand);
+    setOperationAction(ISD::SRL_PARTS, MVT::i64, Expand);
   }
 
   // VASTART needs to be custom lowered to use the VarArgsFrameIndex.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402202233.s1KMXRjv090686>