oota-llvm.git
20 years agoImprove test portability
Chris Lattner [Wed, 19 Nov 2003 18:37:06 +0000 (18:37 +0000)]
Improve test portability

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10087 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix testcase. This should no longer be XFAIL'd
Chris Lattner [Wed, 19 Nov 2003 18:34:44 +0000 (18:34 +0000)]
Fix testcase.  This should no longer be XFAIL'd

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10086 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Finegrainify namespacification
Chris Lattner [Wed, 19 Nov 2003 17:27:18 +0000 (17:27 +0000)]
* Finegrainify namespacification
* Strength reduce several data structures which were left over from the
  "bad old days"
* Minor efficiency improvements
* Major efficiency improvement: In BytecodeParser::insertValue, do not allocate
  a new ValueTab entry just because some value exists with a large type.  This
  dramatically reduces the number of allocations/deallocations performed by the
  bytecode reader, and speeds up parsing of Kimwitu++ from 34s to 17s.  This is
  to help address PR127

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10085 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor efficiency improvements, finegrainify namespacification
Chris Lattner [Wed, 19 Nov 2003 17:21:11 +0000 (17:21 +0000)]
Minor efficiency improvements, finegrainify namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10084 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIn the future, these slabs can be null...
Chris Lattner [Wed, 19 Nov 2003 17:20:42 +0000 (17:20 +0000)]
In the future, these slabs can be null...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10083 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor efficiency improvements all over. Finegrainify Namespacification
Chris Lattner [Wed, 19 Nov 2003 17:17:36 +0000 (17:17 +0000)]
Minor efficiency improvements all over.  Finegrainify Namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10082 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFine grainify namespacification, #include file that defines the interface!
Chris Lattner [Wed, 19 Nov 2003 16:06:55 +0000 (16:06 +0000)]
Fine grainify namespacification, #include file that defines the interface!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10081 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFinegrainify namespacification
Chris Lattner [Wed, 19 Nov 2003 06:14:38 +0000 (06:14 +0000)]
Finegrainify namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10080 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor speedup to do less linear time searches of information we already have.
Chris Lattner [Wed, 19 Nov 2003 06:01:12 +0000 (06:01 +0000)]
Minor speedup to do less linear time searches of  information we already have.
speeds up disassembly of kc++ by .6s

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10079 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoadd new FAQ entry
Chris Lattner [Wed, 19 Nov 2003 05:53:12 +0000 (05:53 +0000)]
add new FAQ entry

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10078 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMore bugz
Chris Lattner [Wed, 19 Nov 2003 01:08:24 +0000 (01:08 +0000)]
More bugz

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10077 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase for PR 130
Chris Lattner [Wed, 19 Nov 2003 01:03:16 +0000 (01:03 +0000)]
New testcase for PR 130

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10076 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix PR130, and testcase test/Regression/Linker/2003-11-18-TypeResolution.ll
Chris Lattner [Wed, 19 Nov 2003 01:02:52 +0000 (01:02 +0000)]
Fix PR130, and testcase test/Regression/Linker/2003-11-18-TypeResolution.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10075 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTestcase for PR131
Chris Lattner [Tue, 18 Nov 2003 23:46:07 +0000 (23:46 +0000)]
Testcase for PR131

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10074 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a few new bugs
Chris Lattner [Tue, 18 Nov 2003 23:04:02 +0000 (23:04 +0000)]
Add a few new bugs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10073 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agonew testcase for PR126
Chris Lattner [Tue, 18 Nov 2003 21:05:55 +0000 (21:05 +0000)]
new testcase for PR126

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10072 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase for PR125
Chris Lattner [Tue, 18 Nov 2003 20:30:00 +0000 (20:30 +0000)]
New testcase for PR125

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10071 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTestcase for PR128
Chris Lattner [Tue, 18 Nov 2003 20:24:46 +0000 (20:24 +0000)]
Testcase for PR128

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10070 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix PR123
Chris Lattner [Tue, 18 Nov 2003 17:47:05 +0000 (17:47 +0000)]
Fix PR123

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10069 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded the new GCC front end section to the table of contents.
John Criswell [Tue, 18 Nov 2003 16:08:49 +0000 (16:08 +0000)]
Added the new GCC front end section to the table of contents.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10068 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded information on the GCC front end.
John Criswell [Tue, 18 Nov 2003 16:05:23 +0000 (16:05 +0000)]
Added information on the GCC front end.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10067 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOnly use -Wl,-R. if HAVE_LINK_R.
Brian Gaeke [Tue, 18 Nov 2003 06:31:17 +0000 (06:31 +0000)]
Only use -Wl,-R. if HAVE_LINK_R.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10066 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd new bug fixed in the CFE
Chris Lattner [Tue, 18 Nov 2003 06:25:05 +0000 (06:25 +0000)]
Add new bug fixed in the CFE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10065 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated using autoheader-2.57
Brian Gaeke [Tue, 18 Nov 2003 06:21:24 +0000 (06:21 +0000)]
Regenerated using autoheader-2.57

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10064 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated using autoconf-2.57
Brian Gaeke [Tue, 18 Nov 2003 06:20:41 +0000 (06:20 +0000)]
Regenerated using autoconf-2.57

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10063 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix breakage caused by typos. Use 3-arg form of AC_DEFINE.
Brian Gaeke [Tue, 18 Nov 2003 06:19:27 +0000 (06:19 +0000)]
Fix breakage caused by typos. Use 3-arg form of AC_DEFINE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10062 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate to reflect the fact that llvm-nm can read archives now.
Brian Gaeke [Tue, 18 Nov 2003 06:18:09 +0000 (06:18 +0000)]
Update to reflect the fact that llvm-nm can read archives now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10061 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoEmit the MachineConstantPool constants in one contiguous memory `pool'.
Misha Brukman [Mon, 17 Nov 2003 20:40:07 +0000 (20:40 +0000)]
Emit the MachineConstantPool constants in one contiguous memory `pool'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10060 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Order #includes as per style guide
Misha Brukman [Mon, 17 Nov 2003 20:37:02 +0000 (20:37 +0000)]
* Order #includes as per style guide
* Delete blank comment lines
* Eliminate space between function name and open-paren ( to be consistent

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10059 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement == and != correctly. Before they would incorrectly return !=
Chris Lattner [Mon, 17 Nov 2003 20:19:35 +0000 (20:19 +0000)]
Implement == and != correctly.  Before they would incorrectly return !=
for some constant exprs when they could really be the same value

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10058 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe ConstantPointer class is now gone.
Chris Lattner [Mon, 17 Nov 2003 19:47:21 +0000 (19:47 +0000)]
The ConstantPointer class is now gone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10057 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdded a check for the -R linker option.
John Criswell [Mon, 17 Nov 2003 19:46:02 +0000 (19:46 +0000)]
Added a check for the -R linker option.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10056 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis file was somehow missing a top-level comment line.
Misha Brukman [Mon, 17 Nov 2003 19:35:17 +0000 (19:35 +0000)]
This file was somehow missing a top-level comment line.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10055 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNo REALLY, get rid of ConstantPointer references
Chris Lattner [Mon, 17 Nov 2003 19:21:04 +0000 (19:21 +0000)]
No REALLY, get rid of ConstantPointer references

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10054 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoEliminate use of the ConstantPointer class
Chris Lattner [Mon, 17 Nov 2003 19:19:32 +0000 (19:19 +0000)]
Eliminate use of the ConstantPointer class

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10053 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConstant folding shalt not be built on annotations
Chris Lattner [Mon, 17 Nov 2003 19:05:17 +0000 (19:05 +0000)]
Constant folding shalt not be built on annotations

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10052 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove usage of ConstantPointer
Chris Lattner [Mon, 17 Nov 2003 17:28:29 +0000 (17:28 +0000)]
Remove usage of ConstantPointer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10051 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBe a bit more tolerant of broken code
Chris Lattner [Mon, 17 Nov 2003 01:17:04 +0000 (01:17 +0000)]
Be a bit more tolerant of broken code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10050 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix copy-and-pasteo
Chris Lattner [Mon, 17 Nov 2003 01:07:58 +0000 (01:07 +0000)]
Fix copy-and-pasteo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10049 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated using autoconf-2.57.
Brian Gaeke [Mon, 17 Nov 2003 00:31:43 +0000 (00:31 +0000)]
Regenerated using autoconf-2.57.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10048 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoEdit some comments slightly.
Brian Gaeke [Mon, 17 Nov 2003 00:30:48 +0000 (00:30 +0000)]
Edit some comments slightly.
Set OS (build OS) and ARCH (target arch) based on the proper elements (SYSTEM,
 and CPU, respectively) of the CPU-COMPANY-SYSTEM tuples.
Add OS and ARCH settings for PowerPC/Darwin (Mac OS X).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10047 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoadd PR117
Brian Gaeke [Sun, 16 Nov 2003 23:49:26 +0000 (23:49 +0000)]
add PR117

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10046 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDocument -disable-opt option that I added.
Brian Gaeke [Sun, 16 Nov 2003 23:39:11 +0000 (23:39 +0000)]
Document -disable-opt option that I added.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10045 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude Support/FileUtilities.h.
Brian Gaeke [Sun, 16 Nov 2003 23:34:13 +0000 (23:34 +0000)]
Include Support/FileUtilities.h.
Print module identifier in DumpSymbolNamesFromModule().
In DumpSymbolNamesFromFile(), check whether it is an archive or a bytecode
 file, and call the corresponding reader function (ParseBytecodeFile or
 ReadArchiveFile).
Unconditionally set MultipleFiles for archives.
Fixes PR117.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10044 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement skeletal support for __.SYMDEF (ranlib) sections in archives.
Brian Gaeke [Sun, 16 Nov 2003 23:08:48 +0000 (23:08 +0000)]
Implement skeletal support for __.SYMDEF (ranlib) sections in archives.
Correctly parse the Long Filename section of the archive.
When reading in archive members, set their ModuleIDs to
 "ARCHIVENAME(MEMBERNAME)", as is traditional.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10043 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWhen you hand WriteAsOperand a type, it now prints out its symbolic name.
Brian Gaeke [Sun, 16 Nov 2003 23:08:27 +0000 (23:08 +0000)]
When you hand WriteAsOperand a type, it now prints out its symbolic name.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10042 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWhen failing a Verifier assertion, use WriteAsOperand to print out the
Brian Gaeke [Sun, 16 Nov 2003 23:07:42 +0000 (23:07 +0000)]
When failing a Verifier assertion, use WriteAsOperand to print out the
offending types and/or values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10041 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a -verify option to verify the results of gccld passes.
Brian Gaeke [Sun, 16 Nov 2003 23:07:28 +0000 (23:07 +0000)]
Add a -verify option to verify the results of gccld passes.
Add a -disable-opt option to turn off gccld optimization passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10040 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoWhen we find a module we want, in an archive, in verbose mode,
Brian Gaeke [Sun, 16 Nov 2003 23:07:13 +0000 (23:07 +0000)]
When we find a module we want, in an archive, in verbose mode,
 print out the module's identifier (which should now contain the name
 of both the archive and the module.)
Wrap some lines at 80 cols.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10039 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDon't print 'No predecessors!' on the entry block
Chris Lattner [Sun, 16 Nov 2003 22:59:57 +0000 (22:59 +0000)]
Don't print 'No predecessors!' on the entry block

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10038 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBugz fixed
Chris Lattner [Sun, 16 Nov 2003 22:11:42 +0000 (22:11 +0000)]
Bugz fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10037 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThere is no need to rely on LLI working for this test
Chris Lattner [Sun, 16 Nov 2003 22:07:45 +0000 (22:07 +0000)]
There is no need to rely on LLI working for this test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10036 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoISO 9899 7.13.2.1 (3) says that "[...] the values of objects of automatic
Chris Lattner [Sun, 16 Nov 2003 22:06:14 +0000 (22:06 +0000)]
ISO 9899 7.13.2.1 (3) says that "[...] the values of objects of automatic
storage duration that are local to the function containing the invocation of the
[...] setjmp macro that do not have volatile-qualified type and have been
changed between the setjmp invocation and longjmp call are indeterminate."

As such, we have to mark all variables in a function that uses 'invoke' as
volatile.

This fixes PR77

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10035 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTestcase for PR116
Chris Lattner [Sun, 16 Nov 2003 21:47:01 +0000 (21:47 +0000)]
Testcase for PR116

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10034 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoadd adce bug
Chris Lattner [Sun, 16 Nov 2003 21:42:48 +0000 (21:42 +0000)]
add adce bug

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10033 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix PR116
Chris Lattner [Sun, 16 Nov 2003 21:39:27 +0000 (21:39 +0000)]
Fix PR116

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10032 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase, for PR 115
Chris Lattner [Sun, 16 Nov 2003 20:47:05 +0000 (20:47 +0000)]
New testcase, for PR 115

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10031 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBugz
Chris Lattner [Sun, 16 Nov 2003 20:25:24 +0000 (20:25 +0000)]
Bugz

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10030 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFixes for PR114: Thanks to Reid Spencer!
Chris Lattner [Sun, 16 Nov 2003 20:21:15 +0000 (20:21 +0000)]
Fixes for PR114: Thanks to Reid Spencer!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10029 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated with autoconf-2.57.
Brian Gaeke [Sun, 16 Nov 2003 18:38:14 +0000 (18:38 +0000)]
Regenerated with autoconf-2.57.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10025 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOnly default to the llvm-gcc in ~lattner if that directory exists.
Brian Gaeke [Sun, 16 Nov 2003 18:37:46 +0000 (18:37 +0000)]
Only default to the llvm-gcc in ~lattner if that directory exists.
Only warn if python version is not right; don't abort.
Add sanity checks for --with-llvmgccdir, with a big warning message at the end.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10024 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAs per PR96, don't build subdirs if LLVMGCCDIR is not set to something
Brian Gaeke [Sun, 16 Nov 2003 06:51:53 +0000 (06:51 +0000)]
As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
reasonable, instead, print out a "LOUD warning".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10023 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoStylesheets: they do a website good!
Misha Brukman [Fri, 14 Nov 2003 17:34:38 +0000 (17:34 +0000)]
Stylesheets: they do a website good!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10003 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement a small optimization to handling of GEP's that are equivalent to casts.
Chris Lattner [Fri, 14 Nov 2003 17:09:46 +0000 (17:09 +0000)]
Implement a small optimization to handling of GEP's that are equivalent to casts.
This results in substantially reduced collapsing for some testcases

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10002 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoI can't believe the incompetence of the people I have to deal with around here.
Chris Lattner [Fri, 14 Nov 2003 16:34:25 +0000 (16:34 +0000)]
I can't believe the incompetence of the people I have to deal with around here.
These fools don't even wrap code at 80 columns.

Oh wait, _I_ wrote that.  That explains a lot!!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9999 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBugz come in, bugs go out
Chris Lattner [Fri, 14 Nov 2003 06:42:01 +0000 (06:42 +0000)]
Bugz come in, bugs go out

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9995 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix PR 110: the constant folding code assumes that if something is not a
Chris Lattner [Fri, 14 Nov 2003 06:38:46 +0000 (06:38 +0000)]
Fix PR 110: the constant folding code assumes that if something is not a
constant expression, but is of (for example) ubyte type, then it is a
ConstantUInt.  This was not true for placeholders.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9994 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis is obviously illegal C++ code, but was apparently accepted by 3.3
Chris Lattner [Fri, 14 Nov 2003 06:03:05 +0000 (06:03 +0000)]
This is obviously illegal C++ code, but was apparently accepted by 3.3

bork

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9993 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoGive props to Reid Spencer for the namespacification work.
Misha Brukman [Fri, 14 Nov 2003 05:37:10 +0000 (05:37 +0000)]
Give props to Reid Spencer for the namespacification work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9992 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBrian implemented the vaarg instruction in the interpreter.
Misha Brukman [Fri, 14 Nov 2003 03:30:43 +0000 (03:30 +0000)]
Brian implemented the vaarg instruction in the interpreter.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9989 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoExpose the verifier to opt
Chris Lattner [Thu, 13 Nov 2003 19:47:29 +0000 (19:47 +0000)]
Expose the verifier to opt

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9984 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemoved link from the docs index too.
Brian Gaeke [Thu, 13 Nov 2003 19:32:14 +0000 (19:32 +0000)]
Removed link from the docs index too.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9983 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAs the comments indicate, this is a temporary, repulsive, hack
Chris Lattner [Thu, 13 Nov 2003 19:26:54 +0000 (19:26 +0000)]
As the comments indicate, this is a temporary, repulsive, hack

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9982 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement feature: InstCombine/2003-11-13-ConstExprCastCall.ll
Chris Lattner [Thu, 13 Nov 2003 19:17:02 +0000 (19:17 +0000)]
Implement feature: InstCombine/2003-11-13-ConstExprCastCall.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9981 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInstcombine should promote this, and because it isn't, we are failing poolalloc tests
Chris Lattner [Thu, 13 Nov 2003 19:05:15 +0000 (19:05 +0000)]
Instcombine should promote this, and because it isn't, we are failing poolalloc tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9980 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTrying to get the dsgraph for an external function is bad for DSA's health
Chris Lattner [Thu, 13 Nov 2003 18:48:11 +0000 (18:48 +0000)]
Trying to get the dsgraph for an external function is bad for DSA's health

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9979 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFixed word order.
Misha Brukman [Thu, 13 Nov 2003 18:03:11 +0000 (18:03 +0000)]
Fixed word order.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9978 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNEW testcase for PR84 :(
Chris Lattner [Thu, 13 Nov 2003 06:19:56 +0000 (06:19 +0000)]
NEW testcase for PR84 :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9967 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChange LLI's internal representation of va_list to a pointer to the next
Brian Gaeke [Thu, 13 Nov 2003 06:06:01 +0000 (06:06 +0000)]
Change LLI's internal representation of va_list to a pointer to the next
argument to be returned by va_arg. This allows va_lists to be passed
between different LLVM procedures (though it is unlikely that an LLI
va_list would make sense to an external function, except by chance.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9965 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement the CompleteBU pass
Chris Lattner [Thu, 13 Nov 2003 05:05:41 +0000 (05:05 +0000)]
Implement the CompleteBU pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9964 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd methods for implementation
Chris Lattner [Thu, 13 Nov 2003 05:05:34 +0000 (05:05 +0000)]
Add methods for implementation

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9963 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor code cleanup
Chris Lattner [Thu, 13 Nov 2003 05:04:19 +0000 (05:04 +0000)]
Minor code cleanup

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9962 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove needless dependence on boost
Chris Lattner [Thu, 13 Nov 2003 04:11:30 +0000 (04:11 +0000)]
Remove needless dependence on boost

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9961 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDisable integer tracking by default
Chris Lattner [Thu, 13 Nov 2003 03:10:49 +0000 (03:10 +0000)]
Disable integer tracking by default

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9960 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd namespace qualifier
Chris Lattner [Thu, 13 Nov 2003 02:30:22 +0000 (02:30 +0000)]
Add namespace qualifier

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9959 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor cleanups
Chris Lattner [Thu, 13 Nov 2003 02:01:41 +0000 (02:01 +0000)]
Minor cleanups

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9958 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd an initial version of the CompleteBUDataStructures class, which is currently
Chris Lattner [Thu, 13 Nov 2003 01:43:00 +0000 (01:43 +0000)]
Add an initial version of the CompleteBUDataStructures class, which is currently
identical to the BU pass, but has an accurate call graph

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9956 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd an initial version of the CompleteBUDataStructures pass
Chris Lattner [Thu, 13 Nov 2003 01:42:38 +0000 (01:42 +0000)]
Add an initial version of the CompleteBUDataStructures pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9955 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude the file before we close the llvm namespace.
Misha Brukman [Thu, 13 Nov 2003 00:23:05 +0000 (00:23 +0000)]
Include the file before we close the llvm namespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9954 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSubstantially re-organized this file:
Misha Brukman [Thu, 13 Nov 2003 00:22:19 +0000 (00:22 +0000)]
Substantially re-organized this file:
* There is now only one pass to print out assembly instead of two
* It is a FunctionPass
* The Module-level printing of globals is now in doFinalization() method of the
  FunctionPass
* The code has been reformatted to follow LLVM coding standards
* Some comments, not all, were doxygenified
* Last but not least, the function to create an instance of this pass is also no
  longer a method in the UltraSparc class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9953 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe function to create an instance of this pass is no longer a method of
Misha Brukman [Thu, 13 Nov 2003 00:19:02 +0000 (00:19 +0000)]
The function to create an instance of this pass is no longer a method of
the UltraSparc class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9952 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe functions to create new instances of passes are no longer methods in the
Misha Brukman [Thu, 13 Nov 2003 00:17:20 +0000 (00:17 +0000)]
The functions to create new instances of passes are no longer methods in the
UltraSparc class. Comments are also doxygen-compatible now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9951 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Put command-line switches in their own namespace
Misha Brukman [Thu, 13 Nov 2003 00:16:28 +0000 (00:16 +0000)]
* Put command-line switches in their own namespace
* Pass creation functions are no longer in the UltraSparc class

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9950 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoForce a dependency on the .inc file, which must be generated!
Misha Brukman [Thu, 13 Nov 2003 00:05:09 +0000 (00:05 +0000)]
Force a dependency on the .inc file, which must be generated!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9949 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFine-grainify namespaces for this library
Chris Lattner [Wed, 12 Nov 2003 23:11:14 +0000 (23:11 +0000)]
Fine-grainify namespaces for this library

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9948 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoYou cannot debug namespacified LLVM with GDB 5.x anymore.
Misha Brukman [Wed, 12 Nov 2003 22:55:13 +0000 (22:55 +0000)]
You cannot debug namespacified LLVM with GDB 5.x anymore.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9946 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd another fixed bug.
Brian Gaeke [Wed, 12 Nov 2003 22:48:52 +0000 (22:48 +0000)]
Add another fixed bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9945 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix faulty namespacification
Chris Lattner [Wed, 12 Nov 2003 22:45:14 +0000 (22:45 +0000)]
Fix faulty namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9943 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegenerated `configure' for adding Makefiles and test.in to FreeBench
Misha Brukman [Wed, 12 Nov 2003 22:16:51 +0000 (22:16 +0000)]
Regenerated `configure' for adding Makefiles and test.in to FreeBench
benchmarks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9942 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOK, scratch my last post, this actually *does* work, those syntax errors were
Misha Brukman [Wed, 12 Nov 2003 22:16:23 +0000 (22:16 +0000)]
OK, scratch my last post, this actually *does* work, those syntax errors were
imaginary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9941 91177308-0d34-0410-b5e6-96231b3b80d8