[llvm-branch-commits] [llvm-branch] r214685 - Merging r213899:
Bill Wendling
isanbard at gmail.com
Sun Aug 3 21:25:54 PDT 2014
Author: void
Date: Sun Aug 3 23:25:53 2014
New Revision: 214685
URL: http://llvm.org/viewvc/llvm-project?rev=214685&view=rev
Log:
Merging r213899:
------------------------------------------------------------------------
r213899 | joerg | 2014-07-24 15:20:10 -0700 (Thu, 24 Jul 2014) | 2 lines
Don't use 128bit functions on PPC32.
------------------------------------------------------------------------
Added:
llvm/branches/release_35/test/CodeGen/PowerPC/ppc32-lshrti3.ll
- copied unchanged from r213899, llvm/trunk/test/CodeGen/PowerPC/ppc32-lshrti3.ll
Modified:
llvm/branches/release_35/ (props changed)
llvm/branches/release_35/lib/Target/PowerPC/PPCISelLowering.cpp
Propchange: llvm/branches/release_35/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sun Aug 3 23:25:53 2014
@@ -1,3 +1,3 @@
/llvm/branches/Apple/Pertwee:110850,110961
/llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,213653,213749,213773,213793,213798,213815,213847,213880,213884,213894-213895,213915,214129,214180,214287,214331,214423,214429,214519
+/llvm/trunk:155241,213653,213749,213773,213793,213798,213815,213847,213880,213884,213894-213895,213899,213915,214129,214180,214287,214331,214423,214429,214519
Modified: llvm/branches/release_35/lib/Target/PowerPC/PPCISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_35/lib/Target/PowerPC/PPCISelLowering.cpp?rev=214685&r1=214684&r2=214685&view=diff
==============================================================================
--- llvm/branches/release_35/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/branches/release_35/lib/Target/PowerPC/PPCISelLowering.cpp Sun Aug 3 23:25:53 2014
@@ -626,6 +626,13 @@ PPCTargetLowering::PPCTargetLowering(PPC
// Altivec instructions set fields to all zeros or all ones.
setBooleanVectorContents(ZeroOrNegativeOneBooleanContent);
+ if (!isPPC64) {
+ // These libcalls are not available in 32-bit.
+ setLibcallName(RTLIB::SHL_I128, nullptr);
+ setLibcallName(RTLIB::SRL_I128, nullptr);
+ setLibcallName(RTLIB::SRA_I128, nullptr);
+ }
+
if (isPPC64) {
setStackPointerRegisterToSaveRestore(PPC::X1);
setExceptionPointerRegister(PPC::X3);
More information about the llvm-branch-commits
mailing list