oota-llvm.git
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

19 years agocopyfromreg fix
Andrew Lenharth [Mon, 7 Feb 2005 06:21:37 +0000 (06:21 +0000)]
copyfromreg fix

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

19 years agofix load bug
Andrew Lenharth [Mon, 7 Feb 2005 05:55:55 +0000 (05:55 +0000)]
fix load bug

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

19 years agomore FP load store fixes and Load store simplifications
Andrew Lenharth [Mon, 7 Feb 2005 05:33:15 +0000 (05:33 +0000)]
more FP load store fixes and Load store simplifications

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

19 years agoclean up load and stores alot
Andrew Lenharth [Mon, 7 Feb 2005 05:18:02 +0000 (05:18 +0000)]
clean up load and stores alot

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

19 years agoteach all loads and stores about the stack
Andrew Lenharth [Mon, 7 Feb 2005 05:07:00 +0000 (05:07 +0000)]
teach all loads and stores about the stack

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

19 years agoprefer FP scratch registers and more check in LowerArguments
Andrew Lenharth [Sun, 6 Feb 2005 21:07:31 +0000 (21:07 +0000)]
prefer FP scratch registers and more check in LowerArguments

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

19 years agofix oopso
Andrew Lenharth [Sun, 6 Feb 2005 16:22:15 +0000 (16:22 +0000)]
fix oopso

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

19 years agosmarter loads and stores. can now handle base+offset.
Andrew Lenharth [Sun, 6 Feb 2005 15:40:40 +0000 (15:40 +0000)]
smarter loads and stores.  can now handle base+offset.

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

19 years agofix build
Andrew Lenharth [Sat, 5 Feb 2005 19:46:51 +0000 (19:46 +0000)]
fix build

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

19 years agoclean up
Andrew Lenharth [Sat, 5 Feb 2005 17:41:39 +0000 (17:41 +0000)]
clean up

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

19 years agofix f32 setcc, and fp select
Andrew Lenharth [Sat, 5 Feb 2005 16:41:03 +0000 (16:41 +0000)]
fix f32 setcc, and fp select

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

19 years agoadded ugly support for fp compares
Andrew Lenharth [Sat, 5 Feb 2005 13:19:12 +0000 (13:19 +0000)]
added ugly support for fp compares

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

19 years agoMake the rest of file header comments consistent in format and style
Misha Brukman [Sat, 5 Feb 2005 02:24:26 +0000 (02:24 +0000)]
Make the rest of file header comments consistent in format and style

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

19 years agoEliminate the explicit opcode field in ConstantExpr, using the SubclassData
Chris Lattner [Sat, 5 Feb 2005 02:00:12 +0000 (02:00 +0000)]
Eliminate the explicit opcode field in ConstantExpr, using the SubclassData
field to hold it instead.  This shrinks memory usage for 176.gcc from
57628728 to 57598144 bytes, a small reduction of about 30K.

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

19 years agoEliminate the explicit volatile fields in LoadInst and StoreInst. This shrinks
Chris Lattner [Sat, 5 Feb 2005 01:44:18 +0000 (01:44 +0000)]
Eliminate the explicit volatile fields in LoadInst and StoreInst.  This shrinks
LoadInst from 60 -> 56 bytes and StoreInst from 76 -> 72 bytes.

Note however, that this doesn't actually save any memory on common systems
where 'malloc' returns 8-byte aligned memory, as the saved space is replaced
by useless alignment padding.  :(

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

19 years agoInstead of initializing the volatile field, use accessors to set it.
Chris Lattner [Sat, 5 Feb 2005 01:38:38 +0000 (01:38 +0000)]
Instead of initializing the volatile field, use accessors to set it.

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

19 years agoInitialize new field.
Chris Lattner [Sat, 5 Feb 2005 01:37:58 +0000 (01:37 +0000)]
Initialize new field.

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

19 years agoSubclassID is really a small field. Split it into half and let subclasses
Chris Lattner [Sat, 5 Feb 2005 01:37:44 +0000 (01:37 +0000)]
SubclassID is really a small field.  Split it into half and let subclasses
play with the unused part.

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

19 years agoAdd support for .cc and .hpp files. Patch contributed by Vladimir Merzliakov!
Chris Lattner [Fri, 4 Feb 2005 21:28:50 +0000 (21:28 +0000)]
Add support for .cc and .hpp files.  Patch contributed by Vladimir Merzliakov!

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

19 years agoMake file header comment consistent: extend the whole 80 cols to fill the line
Misha Brukman [Fri, 4 Feb 2005 20:25:52 +0000 (20:25 +0000)]
Make file header comment consistent: extend the whole 80 cols to fill the line

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

19 years agoIf we have an indirect call site that calls N functions, inline the N functions
Chris Lattner [Fri, 4 Feb 2005 19:59:49 +0000 (19:59 +0000)]
If we have an indirect call site that calls N functions, inline the N functions
into a temporary graph, remember it for later, then inline the tmp graph into
the call site.

In the case where there are other call sites to the same set of functions, this
permits us to just inline the temporary graph instead of all of the callees.

This turns N*M inlining situations into an N+M inlining situation.

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

19 years agoSplit mergeInGraph into two methods.
Chris Lattner [Fri, 4 Feb 2005 19:58:28 +0000 (19:58 +0000)]
Split mergeInGraph into two methods.

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

19 years agoAdd some new members
Chris Lattner [Fri, 4 Feb 2005 19:58:06 +0000 (19:58 +0000)]
Add some new members

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

19 years agoadd new member
Chris Lattner [Fri, 4 Feb 2005 19:57:57 +0000 (19:57 +0000)]
add new member

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

19 years agoFix the Regression/Transforms/DSAnalysis/recursion.ll regression.
Chris Lattner [Fri, 4 Feb 2005 18:58:04 +0000 (18:58 +0000)]
Fix the Regression/Transforms/DSAnalysis/recursion.ll regression.

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

19 years agoFix a case where were incorrectly compiled cast from short to int on 64-bit
Chris Lattner [Fri, 4 Feb 2005 18:39:19 +0000 (18:39 +0000)]
Fix a case where were incorrectly compiled cast from short to int on 64-bit
targets.

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

19 years agoalignment
Andrew Lenharth [Fri, 4 Feb 2005 14:09:38 +0000 (14:09 +0000)]
alignment

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

19 years agoget alignment printing correctly and get rid of __main hack
Andrew Lenharth [Fri, 4 Feb 2005 14:01:21 +0000 (14:01 +0000)]
get alignment printing correctly and get rid of __main hack

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

19 years agofix constant pointer outputing on 64 bit machines
Andrew Lenharth [Fri, 4 Feb 2005 13:47:16 +0000 (13:47 +0000)]
fix constant pointer outputing on 64 bit machines

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

19 years ago* Fix broken link to directions to get llvm, llvm-gcc, and llvm-test from CVS
Misha Brukman [Thu, 3 Feb 2005 22:25:23 +0000 (22:25 +0000)]
* Fix broken link to directions to get llvm, llvm-gcc, and llvm-test from CVS
* Remove duplicated CVS directions and refer reader to the CVS section
* Clean up directions to be brief

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

19 years agoFP fixes
Andrew Lenharth [Thu, 3 Feb 2005 21:01:15 +0000 (21:01 +0000)]
FP fixes

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

19 years agoRefactor getFunctionArgumentsForCall out of mergeInGraph.
Chris Lattner [Thu, 3 Feb 2005 18:40:25 +0000 (18:40 +0000)]
Refactor getFunctionArgumentsForCall out of mergeInGraph.

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

19 years agoAdd a new method.
Chris Lattner [Thu, 3 Feb 2005 18:40:05 +0000 (18:40 +0000)]
Add a new method.

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

19 years ago* Clearly mark LLVM_LIB_SEARCH_PATH as being optional
Misha Brukman [Thu, 3 Feb 2005 18:28:08 +0000 (18:28 +0000)]
* Clearly mark LLVM_LIB_SEARCH_PATH as being optional
* llvmgcc and llvmg++ aliases are no longer needed (binaries have llvm- prefix)

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

19 years agoThis is no longer needed. Global variables with undef initializers can be
Chris Lattner [Wed, 2 Feb 2005 20:50:50 +0000 (20:50 +0000)]
This is no longer needed.  Global variables with undef initializers can be
initialized to anything, including garbage.

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

19 years ago* Instead of fixing the version numbers before every release, mark them as x.y
Misha Brukman [Wed, 2 Feb 2005 18:01:57 +0000 (18:01 +0000)]
* Instead of fixing the version numbers before every release, mark them as x.y
* Eliminate the redundant "This is the..." in released file listing
* Fix grammar

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

19 years agoStore fix
Andrew Lenharth [Wed, 2 Feb 2005 17:32:39 +0000 (17:32 +0000)]
Store fix

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

19 years agooops
Andrew Lenharth [Wed, 2 Feb 2005 17:01:31 +0000 (17:01 +0000)]
oops

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

19 years agoprevent register allocator from using the stack pointer :)
Andrew Lenharth [Wed, 2 Feb 2005 17:00:21 +0000 (17:00 +0000)]
prevent register allocator from using the stack pointer :)

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

19 years agofix loading of floats
Andrew Lenharth [Wed, 2 Feb 2005 15:05:33 +0000 (15:05 +0000)]
fix loading of floats

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

19 years agoPut libraries in a common directory
Jeff Cohen [Wed, 2 Feb 2005 06:33:11 +0000 (06:33 +0000)]
Put libraries in a common directory

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

19 years agomarked mem* as not supported
Andrew Lenharth [Wed, 2 Feb 2005 05:49:42 +0000 (05:49 +0000)]
marked mem* as not supported

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

19 years agoAdd additional source of Win32 GNU utilities.
Jeff Cohen [Wed, 2 Feb 2005 05:46:20 +0000 (05:46 +0000)]
Add additional source of Win32 GNU utilities.

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

19 years agoFix crash on MallocInsts of unsized types.
Alkis Evlogimenos [Wed, 2 Feb 2005 04:43:37 +0000 (04:43 +0000)]
Fix crash on MallocInsts of unsized types.

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

19 years agofix Load bug
Andrew Lenharth [Wed, 2 Feb 2005 04:35:44 +0000 (04:35 +0000)]
fix Load bug

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

19 years agoFix yet another memset issue.
Chris Lattner [Wed, 2 Feb 2005 03:44:41 +0000 (03:44 +0000)]
Fix yet another memset issue.

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

19 years agotry to make a bug bugpointable, add yet more constant pool stuff, fixup constant...
Andrew Lenharth [Wed, 2 Feb 2005 03:36:35 +0000 (03:36 +0000)]
try to make a bug bugpointable, add yet more constant pool stuff, fixup constant loads for FP

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

19 years agobetter constant handling, should fix many remaining cases
Andrew Lenharth [Wed, 2 Feb 2005 00:51:15 +0000 (00:51 +0000)]
better constant handling, should fix many remaining cases

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