Compare commits

...

9 Commits

Author SHA1 Message Date
John Criswell
b094f912b0 Note that a work-around is available.
llvm-svn: 24237
2005-11-08 15:40:22 +00:00
John Criswell
358cb80e7d Add a note about the Solaris configure problem that Tanya's seen.
llvm-svn: 24236
2005-11-08 15:38:11 +00:00
John Criswell
ec29828344 Include the CVS tag for the 1.6 release.
llvm-svn: 24167
2005-11-03 18:26:14 +00:00
John Criswell
1ea1e7ac4d Merge in hack from Chris that discards libg.
llvm-svn: 24166
2005-11-03 15:42:27 +00:00
John Criswell
398d2e2c28 Updated the version number.
Get the UIUC copyright to actually print.

llvm-svn: 24165
2005-11-03 15:25:04 +00:00
John Criswell
072467d8a9 Merged in revision 1.60.
llvm-svn: 24160
2005-11-02 19:38:00 +00:00
John Criswell
39a12ac598 Don't use -q; this option is not available on Solaris grep (and probably
other, traditional UNIX greps).

llvm-svn: 24156
2005-11-02 18:06:28 +00:00
John Criswell
89d3246c03 Mark these as failing on sparc instead of sparcv9.
The configure script no longer tells us that we're configuring for SparcV9
specifically.
2004-06-17-UnorderedCompares may work on SparcV8, but it's experiental
anyway.
2005-02-20-AggregateSAVEEXPR should fail on any Solaris machine, as Solaris
doesn't provide complex number support.

llvm-svn: 24155
2005-11-02 18:05:50 +00:00
CVS to SVN Conversion
53bd0b0175 This commit was manufactured by cvs2svn to create branch 'release_16'.
llvm-svn: 24138
2005-11-01 18:04:06 +00:00
9 changed files with 39 additions and 22 deletions

View File

@@ -31,12 +31,12 @@ dnl===
dnl===-----------------------------------------------------------------------===
dnl Initialize autoconf and define the package name, version number and
dnl email address for reporting bugs.
AC_INIT([[llvm]],[[1.6cvs]],[llvmbugs@cs.uiuc.edu])
AC_INIT([[llvm]],[[1.6]],[llvmbugs@cs.uiuc.edu])
dnl Provide a copyright substitution and ensure the copyright notice is included
dnl in the output of --version option of the generated configure script.
AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign."])
AC_COPYRIGHT($LLVM_COPYRIGHT)
AC_COPYRIGHT([Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.])
dnl Indicate that we require autoconf 2.59 or later. Ths is needed because we
dnl use some autoconf macros only available in 2.59.

22
llvm/configure vendored
View File

@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for llvm 1.6cvs.
# Generated by GNU Autoconf 2.59 for llvm 1.6.
#
# Report bugs to <llvmbugs@cs.uiuc.edu>.
#
@@ -8,7 +8,7 @@
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
#
# $LLVM_COPYRIGHT
# Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##
@@ -425,8 +425,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='llvm'
PACKAGE_TARNAME='-llvm-'
PACKAGE_VERSION='1.6cvs'
PACKAGE_STRING='llvm 1.6cvs'
PACKAGE_VERSION='1.6'
PACKAGE_STRING='llvm 1.6'
PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
ac_unique_file="lib/VMCore/Module.cpp"
@@ -964,7 +964,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures llvm 1.6cvs to adapt to many kinds of systems.
\`configure' configures llvm 1.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1026,7 +1026,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of llvm 1.6cvs:";;
short | recursive ) echo "Configuration of llvm 1.6:";;
esac
cat <<\_ACEOF
@@ -1173,14 +1173,14 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
llvm configure 1.6cvs
llvm configure 1.6
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
$LLVM_COPYRIGHT
Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.
_ACEOF
exit 0
fi
@@ -1189,7 +1189,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by llvm $as_me 1.6cvs, which was
It was created by llvm $as_me 1.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -31044,7 +31044,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
This file was extended by llvm $as_me 1.6cvs, which was
This file was extended by llvm $as_me 1.6, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -31107,7 +31107,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
llvm config.status 1.6cvs
llvm config.status 1.6
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

View File

@@ -661,6 +661,7 @@ revision), you can specify a label. The following releases have the following
labels:</p>
<ul>
<li>Release 1.6: <b>RELEASE_16</b></li>
<li>Release 1.5: <b>RELEASE_15</b></li>
<li>Release 1.4: <b>RELEASE_14</b></li>
<li>Release 1.3: <b>RELEASE_13</b></li>

View File

@@ -316,6 +316,19 @@ components, please contact us on the llvmdev list.</p>
</div>
<!-- ======================================================================= -->
<div class="doc_subsection">
<a name="build">Known problems with the Build System</a>
</div>
<div class="doc_text">
<ul>
<li>The <a href="http://llvm.org/PR656">configure script sometimes fails on Solaris/Sparc</a>. A work around is documented in <a href="http://llvm.org/PR656">PR656.</a></li>
</ul>
</div>
<!-- ======================================================================= -->
<div class="doc_subsection">
<a name="core">Known problems with the LLVM Core</a>

View File

@@ -963,14 +963,14 @@ SDOperand DAGCombiner::visitAND(SDNode *N) {
DAG.getConstant(N1C->getValue()&N01C->getValue(), VT));
}
// fold (and (sign_extend_inreg x, i16 to i32), 1) -> (and x, 1)
if (N0.getOpcode() == ISD::SIGN_EXTEND_INREG) {
if (N1C && N0.getOpcode() == ISD::SIGN_EXTEND_INREG) {
unsigned ExtendBits =
MVT::getSizeInBits(cast<VTSDNode>(N0.getOperand(1))->getVT());
if ((N1C->getValue() & (~0ULL << ExtendBits)) == 0)
if (ExtendBits == 64 || (N1C->getValue() & (~0ULL << ExtendBits) == 0))
return DAG.getNode(ISD::AND, VT, N0.getOperand(0), N1);
}
// fold (and (or x, 0xFFFF), 0xFF) -> 0xFF
if (N0.getOpcode() == ISD::OR && N1C)
if (N1C && N0.getOpcode() == ISD::OR)
if (ConstantSDNode *ORI = dyn_cast<ConstantSDNode>(N0.getOperand(1)))
if ((ORI->getValue() & N1C->getValue()) == N1C->getValue())
return N1;
@@ -1031,7 +1031,7 @@ SDOperand DAGCombiner::visitAND(SDNode *N) {
return DAG.getNode(N0.getOpcode(), VT, ANDNode, N0.getOperand(1));
}
// fold (and (sra)) -> (and (srl)) when possible.
if (N0.getOpcode() == ISD::SRA && N0.Val->hasOneUse())
if (N0.getOpcode() == ISD::SRA && N0.Val->hasOneUse()) {
if (ConstantSDNode *N01C = dyn_cast<ConstantSDNode>(N0.getOperand(1))) {
// If the RHS of the AND has zeros where the sign bits of the SRA will
// land, turn the SRA into an SRL.
@@ -1043,7 +1043,7 @@ SDOperand DAGCombiner::visitAND(SDNode *N) {
return SDOperand();
}
}
}
// fold (zext_inreg (extload x)) -> (zextload x)
if (N0.getOpcode() == ISD::EXTLOAD) {
MVT::ValueType EVT = cast<VTSDNode>(N0.getOperand(3))->getVT();

View File

@@ -1,5 +1,5 @@
// RUN: %llvmgcc -xc -std=c99 %s -c -o - | llvm-dis | grep -v llvm.isunordered | not grep call
// XFAIL: sparcv9|ia64
// XFAIL: sparc|ia64
#include <math.h>

View File

@@ -6,7 +6,7 @@
// We could modify the test to use only GCC extensions, but I don't know if
// that would change the nature of the test.
//
// XFAIL: sparcv9
// XFAIL: sparc
#include <complex.h>

View File

@@ -1,3 +1,3 @@
; This isn't really an assembly file. This test runs the ParallelJIT example
; program and ensures its output is sane.
; RUN: ParallelJIT | grep -q "Fib2 returned 267914296"
; RUN: ParallelJIT | grep "Fib2 returned 267914296"

View File

@@ -423,7 +423,10 @@ int llvm::GenerateNative(const std::string &OutputFilename,
// Add in the libraries to link.
for (unsigned index = 0; index < Libraries.size(); index++)
if (Libraries[index] != "crtend") {
// HACK: If this is libg, discard it. This gets added by the compiler
// driver when doing: 'llvm-gcc main.c -Wl,-native -o a.out -g'. Note that
// this should really be fixed by changing the llvm-gcc compiler driver.
if (Libraries[index] != "crtend" && Libraries[index] != "g") {
std::string Tmp = "-l"+Libraries[index];
StringsToDelete.push_back(strdup(Tmp.c_str()));
args.push_back(StringsToDelete.back());