Chris Lattner [Sat, 4 Dec 2004 23:21:41 +0000 (23:21 +0000)]
This test passes on all platforms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18509
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 23:20:14 +0000 (23:20 +0000)]
These tests pass on darwin now that the __ thing is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18508
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 4 Dec 2004 22:34:47 +0000 (22:34 +0000)]
Failing Feature/Regression test should fail the build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18507
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 4 Dec 2004 22:34:33 +0000 (22:34 +0000)]
Use the FAKE_SOURCES feature for proper distribution of contents
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18506
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 4 Dec 2004 22:34:21 +0000 (22:34 +0000)]
Distribute headers and license files too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18505
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 4 Dec 2004 22:34:09 +0000 (22:34 +0000)]
Getting dist-check to work:\
* Implement the FAKE_SOURCES feature for GCCLibraries/crtend \
* Search for distribution files >first< in srcdir and >second< in objdir \
* Make dist-hook only run in top level directory. \
* Make dist-check run correctly in parallel builds \
* Wrap lines to 80 cols \
* Standardize variable names
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18504
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 4 Dec 2004 22:33:58 +0000 (22:33 +0000)]
CVS directory elimination moved to Makefile.rules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18503
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 4 Dec 2004 22:19:53 +0000 (22:19 +0000)]
Provide more information in the error message that occurs when there are
unresolved constants remaining.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18502
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 4 Dec 2004 22:18:28 +0000 (22:18 +0000)]
Print out something useful instead of a blank table when the external tests
are skipped by user option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18501
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 21:28:47 +0000 (21:28 +0000)]
Check in some patches for better assertions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18500
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 20:54:32 +0000 (20:54 +0000)]
This patch prevents an infinite recursion while compiling 103.su2cor.
All SPEC CFP 95 programs now work, though the JIT isn't loading -lf2c right
so they aren't testing correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18499
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 20:18:21 +0000 (20:18 +0000)]
Move the dejagnu section to immediately before the 'trends' section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18497
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 19:57:27 +0000 (19:57 +0000)]
Remove last remnants of qmtest stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18496
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 19:14:38 +0000 (19:14 +0000)]
Update the win32 project files, contributed by Morton Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18495
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 18:54:48 +0000 (18:54 +0000)]
Fix linkage of mismatched weak globals. This unbreaks 300.twolf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18494
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 4 Dec 2004 08:13:20 +0000 (08:13 +0000)]
Use the install-bytecode target to install just the bytecode libs into
the CFE's install/bytecode-libs directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18493
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 06:47:07 +0000 (06:47 +0000)]
Clean feature also
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18491
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 4 Dec 2004 06:35:14 +0000 (06:35 +0000)]
Run dejagnu by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18490
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 4 Dec 2004 06:25:50 +0000 (06:25 +0000)]
Removed QMTest functions. The nightly tester no longer runs qmtest. It now runs dejagnu by default and you must turn it off using -nodejagnu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18489
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 4 Dec 2004 06:25:08 +0000 (06:25 +0000)]
Made it default to check instead of check-dejagnu.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18488
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 05:28:27 +0000 (05:28 +0000)]
Do not allow bytecode files with unresolved references to be read. Doing
so lets wierd ConstantPlaceholder objects sneak into the system which
confuses it greatly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18487
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 04:17:20 +0000 (04:17 +0000)]
Fix compilation error on Darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18485
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sat, 4 Dec 2004 02:30:42 +0000 (02:30 +0000)]
Check if a block has a terminator first before calling front() on
it. If a block has a terminator then it is certainly non-empty so the
verifier will not crash on it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18484
91177308-0d34-0410-b5e6-
96231b3b80d8
Alkis Evlogimenos [Sat, 4 Dec 2004 01:25:06 +0000 (01:25 +0000)]
Make error msg reflect what exactly went wrong.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18478
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 01:22:09 +0000 (01:22 +0000)]
Prevent accessing past the end of the intervals vector, this fixes
Prolang-C/bison in the JIT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18477
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sat, 4 Dec 2004 00:45:09 +0000 (00:45 +0000)]
Use the standard PR### notation for referencing bugs in bugzilla
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18476
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sat, 4 Dec 2004 00:33:34 +0000 (00:33 +0000)]
Remove more smileys. I kept the one in WritingAnLLVMPass because it is actually
funny.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18475
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Sat, 4 Dec 2004 00:32:12 +0000 (00:32 +0000)]
Documentation which contains smileys won't be taken seriously by some people.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18474
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 4 Dec 2004 00:04:48 +0000 (00:04 +0000)]
Update for changes to check targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18473
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 3 Dec 2004 23:58:18 +0000 (23:58 +0000)]
* Link to the license file from release 1.3 (should we link to CVS version
instead?)
* Encapsulate code and header file names with <tt> and </tt>
* Arrange <p> and </p> tags to be inline with the text they contain
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18472
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 23:57:00 +0000 (23:57 +0000)]
check is now a single colon rule. Also make it default to running dejagnu instead of qmtest
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18471
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 23:56:41 +0000 (23:56 +0000)]
Remove all recursive check support from Makefile.rules
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18470
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 3 Dec 2004 23:26:23 +0000 (23:26 +0000)]
Remove extraneous space in link
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18468
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 23:02:55 +0000 (23:02 +0000)]
Remove darwin specific majik
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18467
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 23:02:42 +0000 (23:02 +0000)]
Move darwin-specific majik here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18466
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 22:18:41 +0000 (22:18 +0000)]
Significantly rework linker support for global variables, allowing it to
correctly link globals whose LLVM types do not match.
This fixes several of the F2C SPEC FP benchmarks, which were failing this
due to the implementation of common blocks used by f2c.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18465
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 3 Dec 2004 21:56:30 +0000 (21:56 +0000)]
Removed QMTests as I will be zapping them soon.
I've done some testing, and this seems to work, but if people who use
the nightly tester regularly could spot check these changes, I'd be
appreciative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18464
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 21:05:57 +0000 (21:05 +0000)]
'make check' at the top level shouldn't recurse through the sourcedirs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18463
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 3 Dec 2004 20:08:48 +0000 (20:08 +0000)]
Resurrect the install-bytecode target for installing just the bytecode
libraries to the CFE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18462
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 19:48:10 +0000 (19:48 +0000)]
Do not multiply define symbol
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18461
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 17:21:33 +0000 (17:21 +0000)]
Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18460
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 17:19:10 +0000 (17:19 +0000)]
Fix test/Regression/CodeGen/CBackend/2004-12-03-ExternStatics.ll and
PR472
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18459
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 17:18:42 +0000 (17:18 +0000)]
new testcase for PR472
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18458
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 16:22:08 +0000 (16:22 +0000)]
Implement stripping of debug symbols, making the --strip-debug options in
gccas/gccld more than just a noop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18456
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 3 Dec 2004 15:59:26 +0000 (15:59 +0000)]
Fixed typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18455
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 07:16:51 +0000 (07:16 +0000)]
Do not look here for elegance.
This fixes the ugly darwin "cannot find symbols starting with __" issue.
Thanks for Owen/resistor for testing this out for me.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18454
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Fri, 3 Dec 2004 06:57:14 +0000 (06:57 +0000)]
This code rotted - change it to call abort() until someone wants
to rewrite this to use relocations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18453
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 3 Dec 2004 06:04:35 +0000 (06:04 +0000)]
Pass -strip-debug to gccas when bytecode libraries are being built.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18452
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 05:45:58 +0000 (05:45 +0000)]
Add -strip-debug option
remove the temporary -disable-dse option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18451
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 3 Dec 2004 05:25:22 +0000 (05:25 +0000)]
When writing kernel, save the branches til the end. They are still put in the "right place" in the schedule, but sometimes when folding to make a kernel instructions are added between branches. This is wrong. To avoid this, we handle branches special.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18450
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 3 Dec 2004 05:13:15 +0000 (05:13 +0000)]
Fix a regression caused by the previous patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18449
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 2 Dec 2004 21:28:37 +0000 (21:28 +0000)]
These lookup symbols with leading underscores, which currently fails in
the PowerPC JIT.
Hence, they are XFAILs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18443
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 21:27:35 +0000 (21:27 +0000)]
Adjust to change in pass name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18442
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 21:26:10 +0000 (21:26 +0000)]
Recognize --strip-all as a synonym for -s.
Add -S and --strip-debug option support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18441
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 21:25:03 +0000 (21:25 +0000)]
Initial reimplementation of the -strip pass, with a stub for implementing
-S
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18440
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 21:24:40 +0000 (21:24 +0000)]
This pass is moving to lib IPO
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18439
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 21:24:19 +0000 (21:24 +0000)]
Move the strip pass from Scalar to IPO lib
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18438
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 21:23:43 +0000 (21:23 +0000)]
Quiet!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18437
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 21:05:01 +0000 (21:05 +0000)]
The stripping pass as we know it is about to disappear
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18436
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Thu, 2 Dec 2004 19:02:49 +0000 (19:02 +0000)]
Reverting revision 1.209.
Including alloca.h on Solaris brings in the prototype of strftime(), which
breaks compilation of CBE generated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18435
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 18:21:45 +0000 (18:21 +0000)]
Add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18434
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 18:17:31 +0000 (18:17 +0000)]
Spill/restore X86 floating point stack registers with 64-bits of precision
instead of 80-bits of precision. This fixes PR467.
This change speeds up fldry on X86 with LLC from 7.32s on apoc to 4.68s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18433
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 17:57:21 +0000 (17:57 +0000)]
Consider 64-bit registers to be FP as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18432
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 17:20:17 +0000 (17:20 +0000)]
Document beta pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18431
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 09:58:09 +0000 (09:58 +0000)]
Standardize the makefiles with space around = to match the rest of LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18429
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 09:52:10 +0000 (09:52 +0000)]
PR466:
* Make the linker find lib*.bca files now instead of lib*.bc since those
are what the makefiles now generate for bytecode archives.
* Make sure the linker only links archives when LinkLibraries is called.
Previously if it found a lib*.bc file and that file was a bytecode file,
it would link in the entire bytecode. This could make -lc -lc fail with
duplicate symbols error but it shouldn't as searching multiple libraries,
even the same one more than once, is permitted.
* Now that the above problems are corrected, implement the dependent libs
feature. After the module is linked with all specified libraries, the
LinkLibraries function will obtain the set of dependent libraries from
the linked modules and attemp to find and link against those libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18428
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 09:31:40 +0000 (09:31 +0000)]
Standardize the format of the runtime libraries makefiles.
* Don't have lines longer than 80 cols
* Blank line after the header
* Reduce spaces in var definitions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18427
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 09:29:49 +0000 (09:29 +0000)]
For PR466:
Much of what this Makefile did to make a libcrtend.a file is now supported
by Makefile.rules when BYTECODE_LIBRARY=1 is specified. So, we've
simplified the make rules for building this library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18426
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 09:28:21 +0000 (09:28 +0000)]
For PR466:
Change construction of bytecode libraries from producing a single bytecode
file to producing a library containing bytecode files. This gets around the
problem of multiple symbol definitions in the linker if something like
-lc -lc is attempted on the command line. Previously this happened because
the linker would find libc.bc as a "library". It will now find libc.a which
it can simply search for missing symbols instead of linking in wholesale.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18425
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 09:23:51 +0000 (09:23 +0000)]
Remove this left-over crud from the automake experiment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18424
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 09:21:55 +0000 (09:21 +0000)]
Implement file replacement correctly even with the f (TruncateNames) flag
set. The member name comparison was failing for truncated names. This patch
fixes that. Truncated names are now properly replaced.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18423
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 09:09:48 +0000 (09:09 +0000)]
Fix seriously broken implementation of GetMagicNumber.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18422
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 07:31:22 +0000 (07:31 +0000)]
Search for tclsh last so we don't find the FreeBSD warning script too early
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18421
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 07:29:17 +0000 (07:29 +0000)]
Search for tclsh last so we don't find the FreeBSD warning script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18420
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Thu, 2 Dec 2004 07:22:15 +0000 (07:22 +0000)]
Reworked branch adding in prologue. Added check for infinite loops which are not modulo scheduled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18419
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 07:11:07 +0000 (07:11 +0000)]
Implement a FIXME by checking to make sure that a malloc is not being used
in scary and unknown ways before we promote it. This fixes the miscompilation
of 188.ammp that has been plauging us since a globalopt patch went in.
Thanks a ton to Tanya for helping me diagnose the problem!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18418
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 06:25:58 +0000 (06:25 +0000)]
Fix a minor bug where we set a var to initialized on malloc, not on store.
This doesn't fix anything that I'm aware of, just noticed it by inspection
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18417
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 04:17:20 +0000 (04:17 +0000)]
Fix the tclsh test to find tclsh8.[34] and tclsh8.[34].X as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18415
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Thu, 2 Dec 2004 04:15:24 +0000 (04:15 +0000)]
* Make sure the cache variable gets cached
* Don't search a bunch of .. directories for something we'd never find,
because we don't imbed tclsh into LLVM.
* Look for various tclsh versions because some platforms don't install the
tclsh link but just have tclsh8.3 or tclsh8.4 or some such.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18414
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 02:35:38 +0000 (02:35 +0000)]
Remove dead field
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18412
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 2 Dec 2004 02:26:18 +0000 (02:26 +0000)]
This program doesn't break anything anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18411
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 1 Dec 2004 21:07:40 +0000 (21:07 +0000)]
Reid has implemented llvm-ranlib. Thanks, Reid!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18410
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 1 Dec 2004 20:58:54 +0000 (20:58 +0000)]
* Hyphenate ``constant-propagate''
* Add testing notes to the instruction section similar as for intrinsics
* Mention adding codegen support for new instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18409
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Wed, 1 Dec 2004 19:12:27 +0000 (19:12 +0000)]
Remove duplicated link to "Machine backend"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18408
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Wed, 1 Dec 2004 18:27:03 +0000 (18:27 +0000)]
Reverting this patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-
20041122/021428.html
It broke Mutlisource/Applications/obsequi
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18407
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 1 Dec 2004 17:14:28 +0000 (17:14 +0000)]
Initial support for packed types, contributed by Morten Ofstad
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18406
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 1 Dec 2004 17:13:05 +0000 (17:13 +0000)]
Remove unneeded cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18405
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 1 Dec 2004 17:12:16 +0000 (17:12 +0000)]
Get GEP's working with packed types. Contributed by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18404
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 1 Dec 2004 17:10:36 +0000 (17:10 +0000)]
Add line # info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18403
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Wed, 1 Dec 2004 14:12:30 +0000 (14:12 +0000)]
Fixed pathname to LLVM tools.
Thanks to Vladimir Merzliakov for finding this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18402
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 1 Dec 2004 05:15:44 +0000 (05:15 +0000)]
Be a little more explicit about how to configure LLVM with the --prefix
option so that permissions errors don't occur if the default, /usr/local,
is taken.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18401
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 1 Dec 2004 04:16:29 +0000 (04:16 +0000)]
Fix typeo, thanks to Duraid for pointing it out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18400
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 30 Nov 2004 22:54:48 +0000 (22:54 +0000)]
Revert version 1.39. It breaks the ordering of the library processing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18399
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 30 Nov 2004 21:33:58 +0000 (21:33 +0000)]
Do not let GCC emit a warning for INT64_MIN
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18398
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Tue, 30 Nov 2004 21:27:01 +0000 (21:27 +0000)]
Sparcs behave better if we use <alloca.h> and avoid messing with __builtin_alloca.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18397
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 30 Nov 2004 19:13:06 +0000 (19:13 +0000)]
Added TCLSH var to site.exp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18396
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 30 Nov 2004 18:25:12 +0000 (18:25 +0000)]
Move this from the C test suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18395
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 30 Nov 2004 18:25:05 +0000 (18:25 +0000)]
This is a c++ test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18394
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 30 Nov 2004 17:47:13 +0000 (17:47 +0000)]
Add back -e, which apparently works in sh's echo but not tcsh's, which does
not need it. Also, grep some output so we know that this command does something.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18393
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 30 Nov 2004 17:45:08 +0000 (17:45 +0000)]
If TESTSUITE is set, we obviously want to run dejagnu
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18392
91177308-0d34-0410-b5e6-
96231b3b80d8