[compiler-rt] Drop CRT_HAS_128BIT routines on Android

Duane Sand Duane.Sand at imgtec.com
Fri Jun 20 15:57:18 PDT 2014


Patch attached as a .txt file

________________________________
From: Duane Sand
Sent: Friday, June 20, 2014 2:21 PM
To: llvm-commits at cs.uiuc.edu
Cc: Rich Fuhler
Subject: [compiler-rt] Drop CRT_HAS_128BIT routines on Android

The attached patch is an urgent workaround in builds of the compiler-rt component of Android.  The recently-added CRT_HAS_128BIT routines make use of host compiler support of 128-bit ints via the mode(TI) compiler extension.  The mips64 llvm compiler back end crashes on uses of that extension.  The affected new routines are present but unused on Android.  The quickest way to work around the back end crash is to omit the CRT_HAS_128BIT routines from the Android build.

This change could be made permanent, as Google has no plans to expose or use the 128-bit-int extension on Android.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140620/ec012f43/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 128bit.patch.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140620/ec012f43/attachment.txt>


More information about the llvm-commits mailing list