oota-llvm.git
19 years agoGet bugpoint compiling with VC++ again, not that it works anyway.
Jeff Cohen [Wed, 16 Feb 2005 05:05:31 +0000 (05:05 +0000)]
Get bugpoint compiling with VC++ again, not that it works anyway.

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

19 years agoArg list already has program name in it.
Jeff Cohen [Wed, 16 Feb 2005 04:43:45 +0000 (04:43 +0000)]
Arg list already has program name in it.

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

19 years agoFixed node deletion bug.
Tanya Lattner [Wed, 16 Feb 2005 04:00:59 +0000 (04:00 +0000)]
Fixed node deletion bug.

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

19 years agoInstead of doing a manual comparison loop, just use memcmp, thanks to JohnC
Chris Lattner [Tue, 15 Feb 2005 22:12:10 +0000 (22:12 +0000)]
Instead of doing a manual comparison loop, just use memcmp, thanks to JohnC
for the suggestion! :)

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

19 years agoMake this more efficient now that we know both files are the same length.
Chris Lattner [Tue, 15 Feb 2005 22:01:43 +0000 (22:01 +0000)]
Make this more efficient now that we know both files are the same length.

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

19 years agoFix spelling
Misha Brukman [Tue, 15 Feb 2005 21:59:53 +0000 (21:59 +0000)]
Fix spelling

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

19 years agoAdjust DiffFilesWithTolerance to help poor cygwin's mmap facility by
Reid Spencer [Tue, 15 Feb 2005 21:47:02 +0000 (21:47 +0000)]
Adjust DiffFilesWithTolerance to help poor cygwin's mmap facility by
handling zero length files a little more intelligently. If both files are
zero length then we return 0 (true) indicating a match. If only one of the
files is zero length then we return 1 (false) indicating that the files
differ. If the files don't agree in length then they can't match so we
skip the first loop that looks for a quick match.

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

19 years agoadd Alpha to llc
Andrew Lenharth [Tue, 15 Feb 2005 21:14:09 +0000 (21:14 +0000)]
add Alpha to llc

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

19 years agoFix a problem where the PPC backend lost track of the fact that it had
Chris Lattner [Tue, 15 Feb 2005 20:26:49 +0000 (20:26 +0000)]
Fix a problem where the PPC backend lost track of the fact that it had
to save and restore the LR register on entry and exit of a leaf function
that needed to access globals or the constant pool.  This should hopefully
fix oscar from sending the PPC tester spinning out of control.

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

19 years agoAdd a sanity check.
Chris Lattner [Tue, 15 Feb 2005 18:48:48 +0000 (18:48 +0000)]
Add a sanity check.

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

19 years agoAdd a new method to make it easy to update graphs.
Chris Lattner [Tue, 15 Feb 2005 18:40:55 +0000 (18:40 +0000)]
Add a new method to make it easy to update graphs.

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

19 years agoBug fixed
Chris Lattner [Tue, 15 Feb 2005 07:02:12 +0000 (07:02 +0000)]
Bug fixed

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

19 years agoFix volatile load/store of pointers. Consider this testcase:
Chris Lattner [Tue, 15 Feb 2005 05:52:14 +0000 (05:52 +0000)]
Fix volatile load/store of pointers.  Consider this testcase:

void %test(int** %P) {
  %A = volatile load int** %P
  ret void
}

void %test2(int*** %Q) {
  %P = load int*** %Q
  volatile store int** %P, int*** %Q
  ret void
}

instead of emitting:

void test(int **l1_P) {
  int *l2_A;

  l2_A = (int **((volatile int **)l1_P));
  return;
}
void test2(int ***l2_Q) {
  int **l1_P;

  l1_P = *l2_Q;
  *((volatile int ***)l2_Q) = l1_P;
  return;
}

... which is loading/storing volatile pointers, not through volatile pointers,
emit this (which is right):

void test(int **l1_P) {
  int *l3_A;

  l3_A = *((int * volatile*)l1_P);
  return;
}
void test2(int ***l2_Q) {
  int **l1_P;

  l1_P = *l2_Q;
  *((int ** volatile*)l2_Q) = l1_P;
  return;
}

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

19 years agoBug fixed.
Chris Lattner [Tue, 15 Feb 2005 05:28:06 +0000 (05:28 +0000)]
Bug fixed.

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

19 years agoNew testcase for PR510.
Chris Lattner [Tue, 15 Feb 2005 05:18:05 +0000 (05:18 +0000)]
New testcase for PR510.

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

19 years agowow, interesting typo :)
Chris Lattner [Mon, 14 Feb 2005 22:58:38 +0000 (22:58 +0000)]
wow, interesting typo :)

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

19 years agoexecution tests shouldn't go here. This was killing the PPC nightly tester.
Chris Lattner [Mon, 14 Feb 2005 21:54:32 +0000 (21:54 +0000)]
execution tests shouldn't go here.  This was killing the PPC nightly tester.

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

19 years agoFor PR496:
Reid Spencer [Mon, 14 Feb 2005 21:54:08 +0000 (21:54 +0000)]
For PR496:
When llvm-gcc is not available, bypass rules for Modules and Bytecode
Libraries that require llvm-gcc and emit instead a warning that llvm-gcc
is not available. This permits "make LLVMGCC=" to build LLVM completely
without error and provides warnings about the modules and bc libs that
could not be constructed.

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

19 years agoFix a bug in my previous change to this, which broke the build on sparcs.
Chris Lattner [Mon, 14 Feb 2005 21:42:10 +0000 (21:42 +0000)]
Fix a bug in my previous change to this, which broke the build on sparcs.

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

19 years agoPrint GEP offsets as signed values instead of unsigned values. On X86, this
Chris Lattner [Mon, 14 Feb 2005 21:40:26 +0000 (21:40 +0000)]
Print GEP offsets as signed values instead of unsigned values.  On X86, this
prints:

getelementptr (int* %A, int -1)

as: "(A) - 4" instead of "(A) + 18446744073709551612", which makes the
assembler much happier.

This fixes test/Regression/CodeGen/X86/2005-02-14-IllegalAssembler.ll,
and Benchmarks/Prolangs-C/cdecl with LLC on X86.

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

19 years agoA testcase that LLC produces illegal asm on for Prolangs-C/cdecl now.
Chris Lattner [Mon, 14 Feb 2005 21:31:41 +0000 (21:31 +0000)]
A testcase that LLC produces illegal asm on for Prolangs-C/cdecl now.

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

19 years agoFix the second bug attached to PR504.
Chris Lattner [Mon, 14 Feb 2005 20:11:45 +0000 (20:11 +0000)]
Fix the second bug attached to PR504.

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

19 years agoWork around GCC PR19958, which causes programs to sometimes crash after
Chris Lattner [Mon, 14 Feb 2005 19:17:29 +0000 (19:17 +0000)]
Work around GCC PR19958, which causes programs to sometimes crash after
printing help output or version info.

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

19 years agoWrite out single characters as chars, not strings.
Misha Brukman [Mon, 14 Feb 2005 18:52:35 +0000 (18:52 +0000)]
Write out single characters as chars, not strings.

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

19 years agoBugs fixed
Chris Lattner [Mon, 14 Feb 2005 16:57:55 +0000 (16:57 +0000)]
Bugs fixed

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

19 years agoImplement CodeGen/CBackend/2005-02-14-VolatileOperations.ll
Chris Lattner [Mon, 14 Feb 2005 16:47:52 +0000 (16:47 +0000)]
Implement CodeGen/CBackend/2005-02-14-VolatileOperations.ll
Volatile loads and stores need to emit volatile pointer operations in C.

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

19 years agonew testcase
Chris Lattner [Mon, 14 Feb 2005 16:45:38 +0000 (16:45 +0000)]
new testcase

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

19 years agoUpdate makefile to use PROJ_* makefile variables intead of BUILD_* as
Reid Spencer [Mon, 14 Feb 2005 16:04:28 +0000 (16:04 +0000)]
Update makefile to use PROJ_* makefile variables intead of BUILD_* as
required by changes to the Makefile.rules. Patch contributed by Vladimir
Merzliakov.

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

19 years agoUpdate comments to reflect new variable names. Patch contributed by
Reid Spencer [Mon, 14 Feb 2005 16:02:19 +0000 (16:02 +0000)]
Update comments to reflect new variable names. Patch contributed by
Vladimir Merzliakov.

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

19 years agoGive props to Andrew for the Alpha backend
Misha Brukman [Mon, 14 Feb 2005 09:07:23 +0000 (09:07 +0000)]
Give props to Andrew for the Alpha backend

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

19 years agofix setcc on floats, fixes singlesource:pi, perhaps others
Andrew Lenharth [Mon, 14 Feb 2005 05:41:43 +0000 (05:41 +0000)]
fix setcc on floats, fixes singlesource:pi, perhaps others

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

19 years agonew testcase for PR509
Chris Lattner [Mon, 14 Feb 2005 02:54:41 +0000 (02:54 +0000)]
new testcase for PR509

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

19 years agoFix the llvm bootstrap
Chris Lattner [Sun, 13 Feb 2005 23:37:09 +0000 (23:37 +0000)]
Fix the llvm bootstrap

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

19 years agoMove private helper function into the only .cpp file that uses it.
Chris Lattner [Sun, 13 Feb 2005 23:14:06 +0000 (23:14 +0000)]
Move private helper function into the only .cpp file that uses it.

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

19 years agoMove helper function here.
Chris Lattner [Sun, 13 Feb 2005 23:13:47 +0000 (23:13 +0000)]
Move helper function here.

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

19 years agoConform to the documented interface by null terminating argument lists!
Chris Lattner [Sun, 13 Feb 2005 23:10:45 +0000 (23:10 +0000)]
Conform to the documented interface by null terminating argument lists!

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

19 years agoMake sure to null terminate argument lists!
Chris Lattner [Sun, 13 Feb 2005 23:02:34 +0000 (23:02 +0000)]
Make sure to null terminate argument lists!

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

19 years agoIf errno is zero strerror_r does not modify the buffer, leaving it unterminated.
Chris Lattner [Sun, 13 Feb 2005 22:46:37 +0000 (22:46 +0000)]
If errno is zero strerror_r does not modify the buffer, leaving it unterminated.
This causes garbage to be printed out after error messages.

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

19 years agoAdd some updates
Chris Lattner [Sun, 13 Feb 2005 22:27:24 +0000 (22:27 +0000)]
Add some updates

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

19 years agoSuSE 3.3.3 is also borken.
Chris Lattner [Sun, 13 Feb 2005 22:20:49 +0000 (22:20 +0000)]
SuSE 3.3.3 is also borken.

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

19 years agoDo not replace ostream << Module*, only ostream << Module&.
Chris Lattner [Sun, 13 Feb 2005 19:15:01 +0000 (19:15 +0000)]
Do not replace ostream << Module*, only ostream << Module&.

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

19 years agoPrint the module, not the pointer.
Chris Lattner [Sun, 13 Feb 2005 19:12:31 +0000 (19:12 +0000)]
Print the module, not the pointer.

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

19 years agoMake the check for global variables the same as the one for functions. In
Reid Spencer [Sun, 13 Feb 2005 18:12:20 +0000 (18:12 +0000)]
Make the check for global variables the same as the one for functions. In
both cases they are looking for non-external variables/functions that do
not have internal linkage. Using "!isExternal()" is a little more
understandable than "hasInitializer()"

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

19 years agoNuke blank line.
Chris Lattner [Sun, 13 Feb 2005 17:54:21 +0000 (17:54 +0000)]
Nuke blank line.

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

19 years agoMinor cleanup. No need to explicitly tell the compiler the template arguments.
Chris Lattner [Sun, 13 Feb 2005 17:50:16 +0000 (17:50 +0000)]
Minor cleanup.  No need to explicitly tell the compiler the template arguments.

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

19 years agoMake sure to clear the LazyFunctionLoadMap after we ParseAllFunctionBodies.
Chris Lattner [Sun, 13 Feb 2005 17:48:18 +0000 (17:48 +0000)]
Make sure to clear the LazyFunctionLoadMap after we ParseAllFunctionBodies.
Otherwise, clients who call ParseAllFunctionBodies will attempt to parse
the function bodies twice, which is (uh) very very bad (tm).

This fixes gccld on python.

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

19 years agoDo not put internal symbols into the symbol table. This shrinks the symbol
Chris Lattner [Sun, 13 Feb 2005 17:42:11 +0000 (17:42 +0000)]
Do not put internal symbols into the symbol table.  This shrinks the symbol
table for archives in common cases, and prevents trying to resolve a
external reference with an internal reference.  This shrinks the libpython.a
symbol table from 126302 to 19770 bytes.

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

19 years agoInclude local time on the web page for start/end times.
Chris Lattner [Sun, 13 Feb 2005 16:08:30 +0000 (16:08 +0000)]
Include local time on the web page for start/end times.

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

19 years agoPrint something useful for gccld -v with an archive.
Chris Lattner [Sun, 13 Feb 2005 15:26:14 +0000 (15:26 +0000)]
Print something useful for gccld -v with an archive.

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

19 years agoFix PR506:
Reid Spencer [Sun, 13 Feb 2005 07:34:17 +0000 (07:34 +0000)]
Fix PR506:
* Use error returned from Archive::OpenAndLoad
* Make sure only std::string is thrown so it gets caught and printed.

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

19 years agoCorrect the recursive PHI node handling routines in a way that CANNOT induce
Chris Lattner [Sun, 13 Feb 2005 04:37:18 +0000 (04:37 +0000)]
Correct the recursive PHI node handling routines in a way that CANNOT induce
infinite loops (using the new replaceSymbolicValuesWithConcrete method).

This patch reverts this patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050131/023830.html

... which was an attempted fix for this problem.  Unfortunately, that patch
caused test/Regression/Transforms/IndVarsSimplify/exit_value_tests.llx to fail
and slightly castrated the entire analysis.  This patch fixes it right.

This patch is dedicated to jeffc, for making me deal with this.  :)

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

19 years agoAdd a new replaceSymbolicValuesWithConcrete method to the SCEV class,
Chris Lattner [Sun, 13 Feb 2005 04:34:51 +0000 (04:34 +0000)]
Add a new replaceSymbolicValuesWithConcrete method to the SCEV class,
adjust const'ness a bit to be more correct.

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

19 years agonon-ieee arith crashes passes on alpha
Andrew Lenharth [Sun, 13 Feb 2005 03:41:10 +0000 (03:41 +0000)]
non-ieee arith crashes passes on alpha

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

19 years agotry to do better match for i32 adds
Andrew Lenharth [Sat, 12 Feb 2005 21:11:17 +0000 (21:11 +0000)]
try to do better match for i32 adds

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

19 years agomake FP conversion more conservative (matches gcc)
Andrew Lenharth [Sat, 12 Feb 2005 21:10:58 +0000 (21:10 +0000)]
make FP conversion more conservative (matches gcc)

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

19 years agooops, I was sure this had already gond though the nightly tester
Andrew Lenharth [Sat, 12 Feb 2005 20:42:09 +0000 (20:42 +0000)]
oops, I was sure this had already gond though the nightly tester

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

19 years agoAdd note about broken GCC
Chris Lattner [Sat, 12 Feb 2005 20:11:13 +0000 (20:11 +0000)]
Add note about broken GCC

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

19 years agoadded sign extend for boolean
Andrew Lenharth [Sat, 12 Feb 2005 19:35:12 +0000 (19:35 +0000)]
added sign extend for boolean

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

19 years agoDocument the newly generalized model for constant globals.
Chris Lattner [Sat, 12 Feb 2005 19:30:21 +0000 (19:30 +0000)]
Document the newly generalized model for constant globals.

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

19 years agoAllow globals to be of different const'nesses when we link.
Chris Lattner [Sat, 12 Feb 2005 19:20:28 +0000 (19:20 +0000)]
Allow globals to be of different const'nesses when we link.
This finally resolves PR502, PR450,
and test/Regression/Linker/2005-02-12-ConstantGlobals{,-2}.ll correctly

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

19 years agoNew test, adjust other test.
Chris Lattner [Sat, 12 Feb 2005 19:19:36 +0000 (19:19 +0000)]
New test, adjust other test.

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

19 years agoReinstate this test, it is correct after all.
Chris Lattner [Sat, 12 Feb 2005 19:14:11 +0000 (19:14 +0000)]
Reinstate this test, it is correct after all.

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

19 years agoThis test is invalid
Chris Lattner [Sat, 12 Feb 2005 19:02:30 +0000 (19:02 +0000)]
This test is invalid

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

19 years agoFix for testcase Transforms/IndVarsSimplify/2005-02-11-InvokeCrash.ll
Chris Lattner [Sat, 12 Feb 2005 03:26:49 +0000 (03:26 +0000)]
Fix for testcase Transforms/IndVarsSimplify/2005-02-11-InvokeCrash.ll
and PR504.

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

19 years agonew testcase for PR504
Chris Lattner [Sat, 12 Feb 2005 03:26:30 +0000 (03:26 +0000)]
new testcase for PR504

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

19 years agoActually, this testcase is invalid, the bug is in the C++ FE.
Chris Lattner [Fri, 11 Feb 2005 23:18:40 +0000 (23:18 +0000)]
Actually, this testcase is invalid, the bug is in the C++ FE.

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

19 years agoNew testcase that manyoso found compiling QT 4.0.
Chris Lattner [Fri, 11 Feb 2005 23:08:34 +0000 (23:08 +0000)]
New testcase that manyoso found compiling QT 4.0.

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

19 years agoSlightly expand on the instructions.
Chris Lattner [Fri, 11 Feb 2005 21:17:26 +0000 (21:17 +0000)]
Slightly expand on the instructions.

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

19 years agoBug fixed
Chris Lattner [Fri, 11 Feb 2005 19:29:52 +0000 (19:29 +0000)]
Bug fixed

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

19 years agoNew testcase for PR501
Chris Lattner [Fri, 11 Feb 2005 19:26:06 +0000 (19:26 +0000)]
New testcase for PR501

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

19 years agoThe pool allocator is now the llvm-poolalloc module in public CVS
Chris Lattner [Fri, 11 Feb 2005 04:46:58 +0000 (04:46 +0000)]
The pool allocator is now the llvm-poolalloc module in public CVS

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

19 years agofix a bunch of regressions due to call behavior
Andrew Lenharth [Thu, 10 Feb 2005 20:10:38 +0000 (20:10 +0000)]
fix a bunch of regressions due to call behavior

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

19 years agoLocalize globals if they are only used in main(). This replaces the
Alkis Evlogimenos [Thu, 10 Feb 2005 18:36:30 +0000 (18:36 +0000)]
Localize globals if they are only used in main(). This replaces the
global with an alloca, which eventually gets promoted into a
register. This enables a lot of other optimizations later on.

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

19 years agoAdded new circuit finding alogrithm.
Tanya Lattner [Thu, 10 Feb 2005 17:02:58 +0000 (17:02 +0000)]
Added new circuit finding alogrithm.

Fixed bug in graph so that phi ite diff edges are added.

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

19 years agoAllow modsched and local scheduling to both be run.
Tanya Lattner [Thu, 10 Feb 2005 17:02:06 +0000 (17:02 +0000)]
Allow modsched and local scheduling to both be run.

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

19 years agoso, if you beat on it, you too can talk emacs into having a sane indenting policy...
Andrew Lenharth [Thu, 10 Feb 2005 06:25:22 +0000 (06:25 +0000)]
so, if you beat on it, you too can talk emacs into having a sane indenting policy...  Also, optimize many function calls with pc-relative calls (partial prologue skipping for that case coming soon), try to fix the random jumps to strange places problem by pesimizing div et. al. register usage and fixing up GP before using, some calling convention tweaks, and make frame pointer unallocatable (not strickly necessary, but let's go for correctness first)

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

19 years agofix fp branch
Andrew Lenharth [Thu, 10 Feb 2005 05:17:38 +0000 (05:17 +0000)]
fix fp branch

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

19 years agoGive props to Brian for V8 backend
Misha Brukman [Thu, 10 Feb 2005 02:07:57 +0000 (02:07 +0000)]
Give props to Brian for V8 backend

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

19 years ago* Fix spelling of `volatile'
Misha Brukman [Thu, 10 Feb 2005 01:52:22 +0000 (01:52 +0000)]
* Fix spelling of `volatile'
* Align comments with tablegen elements

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

19 years agoThis will be moved elsewhere.
Chris Lattner [Wed, 9 Feb 2005 22:52:46 +0000 (22:52 +0000)]
This will be moved elsewhere.

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

19 years ago* Use doc_code style for blocks of code
Misha Brukman [Wed, 9 Feb 2005 22:49:05 +0000 (22:49 +0000)]
* Use doc_code style for blocks of code
* Convert < to &lt; in <pre> block
* Use doc_hilite instead of doc_red style
* Put some classes and options in <tt> blocks

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

19 years agoDo not mention colors in style names, we might want to change styles themselves
Misha Brukman [Wed, 9 Feb 2005 22:47:47 +0000 (22:47 +0000)]
Do not mention colors in style names, we might want to change styles themselves

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

19 years ago* Use an HTML list <ol> instead of custom superscripts in the platform notes
Misha Brukman [Wed, 9 Feb 2005 22:38:47 +0000 (22:38 +0000)]
* Use an HTML list <ol> instead of custom superscripts in the platform notes
* Reorder software requirements list to show relative importance
* Use superscripts for footnotes in software list rather than "Note 1"
* Use new doc_notes class to separate footnotes from main doc text

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

19 years agoAdd style to display notes on a different background than the main text
Misha Brukman [Wed, 9 Feb 2005 22:36:44 +0000 (22:36 +0000)]
Add style to display notes on a different background than the main text

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

19 years agoTurn footnotes into links, make the page validate.
Chris Lattner [Wed, 9 Feb 2005 21:15:51 +0000 (21:15 +0000)]
Turn footnotes into links, make the page validate.

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

19 years agoIf needed, this should be in the 'how to compile the cfe' doc.
Chris Lattner [Wed, 9 Feb 2005 21:07:21 +0000 (21:07 +0000)]
If needed, this should be in the 'how to compile the cfe' doc.

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

19 years agothis should be incorporated into the build
Chris Lattner [Wed, 9 Feb 2005 21:05:01 +0000 (21:05 +0000)]
this should be incorporated into the build

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

19 years ago* Separate superscript footnotes with a comma, otherwise it's a 2-digit number
Misha Brukman [Wed, 9 Feb 2005 21:01:26 +0000 (21:01 +0000)]
* Separate superscript footnotes with a comma, otherwise it's a 2-digit number
* Make a URL into an HTML link using anchor tag
* Put code in fixed-width font
* Since the MinGW footnote is significantly more than the rest of the footnotes
  combined, it needs to have a border and background color to separate it from
  the regular flow of text for readability purposes.

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

19 years agoAdd instructions for MINGW, contributed by Henrik Bach
Chris Lattner [Wed, 9 Feb 2005 20:43:48 +0000 (20:43 +0000)]
Add instructions for MINGW, contributed by Henrik Bach

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

19 years agoDon't print a 'Total Execution Time' line for the 'Miscellaneous Ungrouped
Chris Lattner [Wed, 9 Feb 2005 18:41:32 +0000 (18:41 +0000)]
Don't print a 'Total Execution Time' line for the 'Miscellaneous Ungrouped
Timers' section.  Since these are random timers in the program it doesn't
make sense to sum them up.

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

19 years agoFix test/Regression/Assembler/2005-02-09-AsmWriterStoreBug.ll
Chris Lattner [Wed, 9 Feb 2005 17:45:03 +0000 (17:45 +0000)]
Fix test/Regression/Assembler/2005-02-09-AsmWriterStoreBug.ll

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

19 years agoNew testcase that the asmwriter botches.
Chris Lattner [Wed, 9 Feb 2005 17:42:24 +0000 (17:42 +0000)]
New testcase that the asmwriter botches.

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

19 years agoUse new edge iterators to simplify some code.
Chris Lattner [Wed, 9 Feb 2005 03:20:43 +0000 (03:20 +0000)]
Use new edge iterators to simplify some code.

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

19 years agoAdd some iterators that should have come in long ago
Chris Lattner [Wed, 9 Feb 2005 03:14:29 +0000 (03:14 +0000)]
Add some iterators that should have come in long ago

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

19 years agoFix installation of configured headers when objdir != srcdir. Patch
Chris Lattner [Wed, 9 Feb 2005 02:24:00 +0000 (02:24 +0000)]
Fix installation of configured headers when objdir != srcdir.  Patch
contributed by Vladimir Merzliakov!

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

19 years agoBranchCC, nifty
Andrew Lenharth [Tue, 8 Feb 2005 00:40:03 +0000 (00:40 +0000)]
BranchCC, nifty

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

19 years agofix store issue and an FP conversion (segfault) issue
Andrew Lenharth [Mon, 7 Feb 2005 23:02:23 +0000 (23:02 +0000)]
fix store issue and an FP conversion (segfault) issue

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

19 years agoIndCallGraphMap is now a pointer to a new'd map.
Chris Lattner [Mon, 7 Feb 2005 16:09:15 +0000 (16:09 +0000)]
IndCallGraphMap is now a pointer to a new'd map.

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

19 years agoHopefully fix the build on Darwin with GCC 3.3
Chris Lattner [Mon, 7 Feb 2005 16:09:01 +0000 (16:09 +0000)]
Hopefully fix the build on Darwin with GCC 3.3

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

19 years agocopytoreg fix
Andrew Lenharth [Mon, 7 Feb 2005 06:31:44 +0000 (06:31 +0000)]
copytoreg fix

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