oota-llvm.git
19 years agoAdd the configurable configuration files for llvmc.
Reid Spencer [Tue, 23 Nov 2004 23:48:45 +0000 (23:48 +0000)]
Add the configurable configuration files for llvmc.

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

19 years ago* Adjust the options to make them either accept multiple occurrences or be
Reid Spencer [Tue, 23 Nov 2004 23:47:58 +0000 (23:47 +0000)]
* Adjust the options to make them either accept multiple occurrences or be
  optional so that compatibility with GCC is accomplished.
* Implement the -print-file-name option in an attempt to provide the same
  functionality as GCC. Unfortunately, without loading the cpp or c config
  files, this option won't help much.

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

19 years ago* Don't pass empty arguments to ExecuteAndWait because it can cause the
Reid Spencer [Tue, 23 Nov 2004 23:45:49 +0000 (23:45 +0000)]
* Don't pass empty arguments to ExecuteAndWait because it can cause the
  sub-tool to start reading its standard input instead of the specified
  input.
* Clean up ouput of path names on error.
* Extend GetPathForLinkageItem to always search the LibraryPaths and thus
  make it suitable for an interface function (required by llvmc.cpp).
* Implement support for language-specific default library paths.

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

19 years agoConfiguration data now supports a vector of library paths.
Reid Spencer [Tue, 23 Nov 2004 23:40:06 +0000 (23:40 +0000)]
Configuration data now supports a vector of library paths.
Add the GetPathForLinkageItem method to the interface so full paths can
be generated for a given linkage item.

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

19 years agoAdd the c and cpp configuration files.
Reid Spencer [Tue, 23 Nov 2004 23:38:46 +0000 (23:38 +0000)]
Add the c and cpp configuration files.

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

19 years agoRemoved in favor of configurable (*.in) versions.
Reid Spencer [Tue, 23 Nov 2004 23:38:07 +0000 (23:38 +0000)]
Removed in favor of configurable (*.in) versions.

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

19 years agoMake various adjustments to parsing so that the separator character doesn't
Reid Spencer [Tue, 23 Nov 2004 23:37:26 +0000 (23:37 +0000)]
Make various adjustments to parsing so that the separator character doesn't
terminate options or paths, so that SPACE tokens legally separate options
on a command line, and so that the lang.libs paths are parsed properly.

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

19 years agoSPACE is a legitimate token now, to separate option words.
Reid Spencer [Tue, 23 Nov 2004 23:35:50 +0000 (23:35 +0000)]
SPACE is a legitimate token now, to separate option words.

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

19 years agoHandle space, separators, bad substitutions, and library search path better
Reid Spencer [Tue, 23 Nov 2004 23:35:16 +0000 (23:35 +0000)]
Handle space, separators, bad substitutions, and library search path better
than before.

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

19 years agoConfigurable language configuration files.
Reid Spencer [Tue, 23 Nov 2004 23:33:08 +0000 (23:33 +0000)]
Configurable language configuration files.

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

19 years agoAllow reading of member names that begin with an _ character.
Reid Spencer [Tue, 23 Nov 2004 22:35:39 +0000 (22:35 +0000)]
Allow reading of member names that begin with an _ character.

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

19 years agoFix encoding of blr and bctr
Chris Lattner [Tue, 23 Nov 2004 22:06:24 +0000 (22:06 +0000)]
Fix encoding of blr and bctr

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

19 years agoAdded remark about GCC 3.2.2. Someone with more knowledge of the problem
John Criswell [Tue, 23 Nov 2004 22:06:24 +0000 (22:06 +0000)]
Added remark about GCC 3.2.2.  Someone with more knowledge of the problem
can elaborate.

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

19 years agoUse the correct register class as a constaint to gcc's inline assembly, so
Nate Begeman [Tue, 23 Nov 2004 21:37:22 +0000 (21:37 +0000)]
Use the correct register class as a constaint to gcc's inline assembly, so
that we don't end up trying to use r0 as a base register.

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

19 years agoSave/Restore arg regs and nonvolatile regs the compiler might use during
Nate Begeman [Tue, 23 Nov 2004 21:34:18 +0000 (21:34 +0000)]
Save/Restore arg regs and nonvolatile regs the compiler might use during
CompilationCallback

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

19 years agoFix the encoding of OR, AND and many other instructions
Chris Lattner [Tue, 23 Nov 2004 21:17:35 +0000 (21:17 +0000)]
Fix the encoding of OR, AND and many other instructions

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

19 years agoSupport shr long/ulong.
Brian Gaeke [Tue, 23 Nov 2004 21:10:50 +0000 (21:10 +0000)]
Support shr long/ulong.

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

19 years agoSupport printing ConstantAggregateZeros.
Brian Gaeke [Tue, 23 Nov 2004 21:10:49 +0000 (21:10 +0000)]
Support printing ConstantAggregateZeros.

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

19 years agoUpdate failing SingleSource test-case list.
Brian Gaeke [Tue, 23 Nov 2004 21:10:48 +0000 (21:10 +0000)]
Update failing SingleSource test-case list.

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

19 years agoRemove argtype and argcount magic, which was used by the old asmprinter.
Chris Lattner [Tue, 23 Nov 2004 20:41:34 +0000 (20:41 +0000)]
Remove argtype and argcount magic, which was used by the old asmprinter.

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

19 years agoGet rid of flags that are dead
Chris Lattner [Tue, 23 Nov 2004 20:37:41 +0000 (20:37 +0000)]
Get rid of flags that are dead

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

19 years agoWe also provide a source distribution of the GCC front-end
Misha Brukman [Tue, 23 Nov 2004 19:26:24 +0000 (19:26 +0000)]
We also provide a source distribution of the GCC front-end

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

19 years agoFix encoding of rlwinm?
Chris Lattner [Tue, 23 Nov 2004 19:23:32 +0000 (19:23 +0000)]
Fix encoding of rlwinm?

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

19 years agoFix encodings
Chris Lattner [Tue, 23 Nov 2004 19:23:18 +0000 (19:23 +0000)]
Fix encodings

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

19 years agoEnumerate CR registers
Chris Lattner [Tue, 23 Nov 2004 18:59:59 +0000 (18:59 +0000)]
Enumerate CR registers

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

19 years agoInitial implementation of exiting CompilationCallback
Chris Lattner [Tue, 23 Nov 2004 18:49:46 +0000 (18:49 +0000)]
Initial implementation of exiting CompilationCallback

This should save all argument registers on entry and restore on exit, despite
that, simple things seem to work!!!

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

19 years agoThis method is dead
Chris Lattner [Tue, 23 Nov 2004 18:47:55 +0000 (18:47 +0000)]
This method is dead

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

19 years agoRemove this method.
Chris Lattner [Tue, 23 Nov 2004 18:47:42 +0000 (18:47 +0000)]
Remove this method.

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

19 years agoMake sure the timing output is also sent to the log file for dejagnu, not
Reid Spencer [Tue, 23 Nov 2004 16:23:50 +0000 (16:23 +0000)]
Make sure the timing output is also sent to the log file for dejagnu, not
the log file of the NightlyTest.pl script.

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

19 years agoSquelch a bogus warning
Chris Lattner [Tue, 23 Nov 2004 15:57:01 +0000 (15:57 +0000)]
Squelch a bogus warning

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

19 years agoSquelch a bogus warning.
Chris Lattner [Tue, 23 Nov 2004 15:56:38 +0000 (15:56 +0000)]
Squelch a bogus warning.

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

19 years agoDon't return value from void function. This is only temporary anyway while
Nate Begeman [Tue, 23 Nov 2004 10:04:49 +0000 (10:04 +0000)]
Don't return value from void function.  This is only temporary anyway while
the JIT is made to work!

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

19 years agopseudocode for 64-bit lshr.
Brian Gaeke [Tue, 23 Nov 2004 08:14:09 +0000 (08:14 +0000)]
pseudocode for 64-bit lshr.

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

19 years agoFix a minor bug
Chris Lattner [Tue, 23 Nov 2004 06:56:31 +0000 (06:56 +0000)]
Fix a minor bug

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

19 years agoBe really paranoid about not breaking stuff yet
Chris Lattner [Tue, 23 Nov 2004 06:56:18 +0000 (06:56 +0000)]
Be really paranoid about not breaking stuff yet

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

19 years agoImplement the first hunk of CompilationCallback. The pieces missing are the
Chris Lattner [Tue, 23 Nov 2004 06:55:05 +0000 (06:55 +0000)]
Implement the first hunk of CompilationCallback.  The pieces missing are the
ones noted, which require funny PPC specific inline assembly.

If some angel felt the desire to help me, I think this is that last bit missing
for JIT support (however, generic code emitter might night work right with
the constant pool yet).

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

19 years agoChange formats, as suggested by Duraid
Chris Lattner [Tue, 23 Nov 2004 06:51:14 +0000 (06:51 +0000)]
Change formats, as suggested by Duraid

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

19 years agoAdd more known-failing tests.
Brian Gaeke [Tue, 23 Nov 2004 06:39:50 +0000 (06:39 +0000)]
Add more known-failing tests.

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

19 years agoAdd the rest of the logical instructions.
Brian Gaeke [Tue, 23 Nov 2004 06:39:37 +0000 (06:39 +0000)]
Add the rest of the logical instructions.

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

19 years agoImplement the stub needed to get into compilation callback.
Chris Lattner [Tue, 23 Nov 2004 06:27:02 +0000 (06:27 +0000)]
Implement the stub needed to get into compilation callback.

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

19 years agoSimplify code a bit
Chris Lattner [Tue, 23 Nov 2004 06:05:44 +0000 (06:05 +0000)]
Simplify code a bit

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

19 years agoInitial implementation of the JIT interfaces. Relocation is done and stubs
Chris Lattner [Tue, 23 Nov 2004 06:02:06 +0000 (06:02 +0000)]
Initial implementation of the JIT interfaces.  Relocation is done and stubs
for external functions work.  CompilationCallback has not been written, and
stubs for internal functions are not generated yet.  This means you can call
printf and exit, and use global variables, but cannot call functions local to
a module yet.

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

19 years agoEmit relocations for the global variable using instructions. This gets us
Chris Lattner [Tue, 23 Nov 2004 05:59:53 +0000 (05:59 +0000)]
Emit relocations for the global variable using instructions.  This gets us
LA, LOADHiAddr, CALLpcrel, and MovePCtoLR working, though the constant pool
probably is not right.

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

19 years agoAllow configuration files to be themselves configured and found in the
Reid Spencer [Tue, 23 Nov 2004 05:59:53 +0000 (05:59 +0000)]
Allow configuration files to be themselves configured and found in the
OBJ dir instead of only in the SRC dir.

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

19 years agoImplement all of the methods
Chris Lattner [Tue, 23 Nov 2004 05:57:57 +0000 (05:57 +0000)]
Implement all of the methods

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

19 years agoInitial checkin of the 32-bit PPC relocation types
Chris Lattner [Tue, 23 Nov 2004 05:57:38 +0000 (05:57 +0000)]
Initial checkin of the 32-bit PPC relocation types

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

19 years agoMove JITInfo from PPCTM to PPC32TM
Chris Lattner [Tue, 23 Nov 2004 05:56:40 +0000 (05:56 +0000)]
Move JITInfo from PPCTM to PPC32TM

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

19 years agoDo not provide the non-specialized PowerPCJITInfo object, it is pretty useless.
Chris Lattner [Tue, 23 Nov 2004 05:55:38 +0000 (05:55 +0000)]
Do not provide the non-specialized PowerPCJITInfo object, it is pretty useless.
Instead, let derived classes provide specialized ones.

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

19 years agoLA is really addi. Be consistent with operand ordering to avoid confusing the code...
Chris Lattner [Tue, 23 Nov 2004 05:54:25 +0000 (05:54 +0000)]
LA is really addi.  Be consistent with operand ordering to avoid confusing the code emitter

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

19 years agoChanged the CreateCodeToLoadConst function to preserve SSA form. This basically means...
Tanya Lattner [Tue, 23 Nov 2004 04:22:29 +0000 (04:22 +0000)]
Changed the CreateCodeToLoadConst function to preserve SSA form. This basically means adding extra tmp instructions for intermediate values.

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

19 years agoRemove some dead code
Chris Lattner [Mon, 22 Nov 2004 23:07:22 +0000 (23:07 +0000)]
Remove some dead code

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

19 years agoComment out a couple of unused instructions.
Chris Lattner [Mon, 22 Nov 2004 23:07:01 +0000 (23:07 +0000)]
Comment out a couple of unused instructions.

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

19 years agoDo not push two return addresses on the stack when we call external functions who...
Chris Lattner [Mon, 22 Nov 2004 22:25:30 +0000 (22:25 +0000)]
Do not push two return addresses on the stack when we call external functions who have their addresses taken.  This fixes test-call.ll

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

19 years agoAdd a note about the JIT changes.
Chris Lattner [Mon, 22 Nov 2004 22:09:58 +0000 (22:09 +0000)]
Add a note about the JIT changes.

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

19 years agoRename Emitter.cpp -> JITEmitter.cpp
Chris Lattner [Mon, 22 Nov 2004 22:00:25 +0000 (22:00 +0000)]
Rename Emitter.cpp -> JITEmitter.cpp

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

19 years agoFix the FIXME, nuke the JIT specific forceCompilationOf method.
Chris Lattner [Mon, 22 Nov 2004 21:54:35 +0000 (21:54 +0000)]
Fix the FIXME, nuke the JIT specific forceCompilationOf method.

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

19 years agoDisable this.
Chris Lattner [Mon, 22 Nov 2004 21:51:40 +0000 (21:51 +0000)]
Disable this.

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

19 years agoThese methods are obsolete
Chris Lattner [Mon, 22 Nov 2004 21:48:33 +0000 (21:48 +0000)]
These methods are obsolete

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

19 years agoThese methods are now obsolete
Chris Lattner [Mon, 22 Nov 2004 21:48:01 +0000 (21:48 +0000)]
These methods are now obsolete

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

19 years agoThis chunk of code needs to be rewritten
Chris Lattner [Mon, 22 Nov 2004 21:45:54 +0000 (21:45 +0000)]
This chunk of code needs to be rewritten

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

19 years agoRemove some dead vars and some useless namespacification
Chris Lattner [Mon, 22 Nov 2004 21:42:40 +0000 (21:42 +0000)]
Remove some dead vars and some useless namespacification

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

19 years agoImplement a disgusting hack to work around broken machine code emission of
Chris Lattner [Mon, 22 Nov 2004 21:25:10 +0000 (21:25 +0000)]
Implement a disgusting hack to work around broken machine code emission of
the RDCCR instruction.  This fixes a bunch of programs with the JIT.

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

19 years agoFixed a bug where I was trying to ModuloSchedule a loop with no instructions but...
Tanya Lattner [Mon, 22 Nov 2004 20:41:24 +0000 (20:41 +0000)]
Fixed a bug where I was trying to ModuloSchedule a loop with no instructions but a terminator.
Fixed a bug in the schedule generation that was always using the start cycle.

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

19 years agoRemove JIT-specific code from the code emitter.
Chris Lattner [Mon, 22 Nov 2004 20:25:10 +0000 (20:25 +0000)]
Remove JIT-specific code from the code emitter.

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

19 years agoNew methods implemented
Chris Lattner [Mon, 22 Nov 2004 20:24:42 +0000 (20:24 +0000)]
New methods implemented

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

19 years agoImplement the Sparc JIT interfaces, including relocation support.
Chris Lattner [Mon, 22 Nov 2004 20:24:27 +0000 (20:24 +0000)]
Implement the Sparc JIT interfaces, including relocation support.

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

19 years agoExit only with a value from 0-255.
Chris Lattner [Mon, 22 Nov 2004 19:50:41 +0000 (19:50 +0000)]
Exit only with a value from 0-255.

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

19 years ago%p is expanded by dejagnu, avoid it in the test.
Chris Lattner [Mon, 22 Nov 2004 19:25:45 +0000 (19:25 +0000)]
%p is expanded by dejagnu, avoid it in the test.

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

19 years agoPull out failing test into a seperate file, which is xfailed
Chris Lattner [Mon, 22 Nov 2004 19:24:11 +0000 (19:24 +0000)]
Pull out failing test into a seperate file, which is xfailed

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

19 years agoThis was fixed
Chris Lattner [Mon, 22 Nov 2004 19:19:11 +0000 (19:19 +0000)]
This was fixed

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

19 years agoFix test/Regression/CFrontend/2003-11-01-EmptyStructCrash.c
Chris Lattner [Mon, 22 Nov 2004 19:15:27 +0000 (19:15 +0000)]
Fix test/Regression/CFrontend/2003-11-01-EmptyStructCrash.c

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

19 years agoThese tests really are failing, do not let them accidentally be XPASS.
Chris Lattner [Mon, 22 Nov 2004 19:11:40 +0000 (19:11 +0000)]
These tests really are failing, do not let them accidentally be XPASS.

Note that apparently 'failing command | succeeding command' is a fail on
csh but not on sh.  :(

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

19 years agoDon't stop make if there are XFAIL or XPASSes
Chris Lattner [Mon, 22 Nov 2004 19:06:22 +0000 (19:06 +0000)]
Don't stop make if there are XFAIL or XPASSes

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

19 years agoAdd a note about the name change of libraries.
Reid Spencer [Mon, 22 Nov 2004 18:40:51 +0000 (18:40 +0000)]
Add a note about the name change of libraries.

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

19 years agoMoved dejagnu log link to the template.
Tanya Lattner [Mon, 22 Nov 2004 18:36:12 +0000 (18:36 +0000)]
Moved dejagnu log link to the template.

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

19 years agoDo not count debugger intrinsics in size estimation.
Chris Lattner [Mon, 22 Nov 2004 17:23:57 +0000 (17:23 +0000)]
Do not count debugger intrinsics in size estimation.

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

19 years agoIgnore debugger intrinsics when doing inlining size computations.
Chris Lattner [Mon, 22 Nov 2004 17:21:44 +0000 (17:21 +0000)]
Ignore debugger intrinsics when doing inlining size computations.

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

19 years agoDo not consider debug intrinsics in the size computations for loop unrolling.
Chris Lattner [Mon, 22 Nov 2004 17:18:36 +0000 (17:18 +0000)]
Do not consider debug intrinsics in the size computations for loop unrolling.
Patch contributed by Michael McCracken!

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

19 years agoAdd a new debug intrinsic parent class. Patch contributed by Michael
Chris Lattner [Mon, 22 Nov 2004 17:18:05 +0000 (17:18 +0000)]
Add a new debug intrinsic parent class.  Patch contributed by Michael
McCracken, thanks!

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

19 years agoFixed typo.
John Criswell [Mon, 22 Nov 2004 17:16:26 +0000 (17:16 +0000)]
Fixed typo.

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

19 years agoChanged to catch stderror of dejagnu and fixed missing quote.
Tanya Lattner [Mon, 22 Nov 2004 17:16:01 +0000 (17:16 +0000)]
Changed to catch stderror of dejagnu and fixed missing quote.

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

19 years agoThis is the proper code for this method, thanks to Reid for getting CVS working
Chris Lattner [Mon, 22 Nov 2004 16:54:54 +0000 (16:54 +0000)]
This is the proper code for this method, thanks to Reid for getting CVS working
again.

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

19 years agoMoved into the poolalloc tree.
John Criswell [Mon, 22 Nov 2004 16:32:35 +0000 (16:32 +0000)]
Moved into the poolalloc tree.

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

19 years agoImplement a missing function called by JIT/Emitter.cpp but never defined.
Reid Spencer [Mon, 22 Nov 2004 12:38:36 +0000 (12:38 +0000)]
Implement a missing function called by JIT/Emitter.cpp but never defined.

NOTE: Its not clear that this implementation is correct.
CHRIS: Please review this!

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

19 years agoAdd stub method for long shift codegen.
Brian Gaeke [Mon, 22 Nov 2004 08:02:06 +0000 (08:02 +0000)]
Add stub method for long shift codegen.

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

19 years agoUpdate to-do list.
Brian Gaeke [Mon, 22 Nov 2004 08:02:05 +0000 (08:02 +0000)]
Update to-do list.

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

19 years agoSupport targets that require stubs for external functions better
Chris Lattner [Mon, 22 Nov 2004 07:24:43 +0000 (07:24 +0000)]
Support targets that require stubs for external functions better

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

19 years agoFix a comment to imply the correct semantics.
Reid Spencer [Mon, 22 Nov 2004 02:58:47 +0000 (02:58 +0000)]
Fix a comment to imply the correct semantics.

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

19 years agoMake sure output goes in the temporary/output directory.
Reid Spencer [Mon, 22 Nov 2004 02:46:31 +0000 (02:46 +0000)]
Make sure output goes in the temporary/output directory.

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

19 years agoInitial checkin of the V9 relocation types
Chris Lattner [Mon, 22 Nov 2004 00:40:51 +0000 (00:40 +0000)]
Initial checkin of the V9 relocation types

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

19 years ago* Undo previous commit that breaks the test.
Reid Spencer [Sun, 21 Nov 2004 21:28:56 +0000 (21:28 +0000)]
* Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.

NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.

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

19 years ago* Undo previous commit that breaks the test.
Reid Spencer [Sun, 21 Nov 2004 21:22:56 +0000 (21:22 +0000)]
* Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.

NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.

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

19 years agoFirst version of manual page for llvm-ld.
Reid Spencer [Sun, 21 Nov 2004 18:20:16 +0000 (18:20 +0000)]
First version of manual page for llvm-ld.

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

19 years agoFixed another typo.
John Criswell [Sun, 21 Nov 2004 15:11:37 +0000 (15:11 +0000)]
Fixed another typo.

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

19 years agoCorrected spelling mistakes.
John Criswell [Sun, 21 Nov 2004 14:58:12 +0000 (14:58 +0000)]
Corrected spelling mistakes.

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

19 years agoIt looks like I'm fixing a spelling mistake, but I'm really trying to
John Criswell [Sun, 21 Nov 2004 14:34:34 +0000 (14:34 +0000)]
It looks like I'm fixing a spelling mistake, but I'm really trying to
replicate the CVS performance problems that Reid is seeing.

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

19 years agoImplement setcc on longs.
Brian Gaeke [Sun, 21 Nov 2004 08:11:28 +0000 (08:11 +0000)]
Implement setcc on longs.

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

19 years agoAdd all the rest of the ADD and SUB variants, some of which are important for
Brian Gaeke [Sun, 21 Nov 2004 07:13:17 +0000 (07:13 +0000)]
Add all the rest of the ADD and SUB variants, some of which are important for
64-bit support.

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

19 years agoSupport add, sub, mul, div, rem on longs/ulongs (latter 3 by emitting libcalls).
Brian Gaeke [Sun, 21 Nov 2004 07:13:16 +0000 (07:13 +0000)]
Support add, sub, mul, div, rem on longs/ulongs (latter 3 by emitting libcalls).
Add a big comment containing my notes on how to do setcc for longs/ulongs.

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

19 years agoUpdate to-do list.
Brian Gaeke [Sun, 21 Nov 2004 07:13:15 +0000 (07:13 +0000)]
Update to-do list.

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