svn commit: r262265 - projects/clang-sparc64/contrib/llvm/lib/Target/Sparc
Dimitry Andric
dim at FreeBSD.org
Thu Feb 20 22:33:27 UTC 2014
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.
More information about the svn-src-projects
mailing list