Chris Lattner
41ffe4b531
Do not make i have bigger scope that we need
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17483 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-05 04:47:37 +00:00
Chris Lattner
183f2eb860
Remove dead vars
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17482 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-05 04:46:22 +00:00
Chris Lattner
f158092801
Fix some warnings on VC++
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17481 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-05 04:45:43 +00:00
Chris Lattner
1464467f9e
Remove this file as suggested by Jeff Cohen
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17480 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-05 04:17:19 +00:00
Chris Lattner
aa70ef7b5b
Fix project file, patch contributed by Jeff Cohen
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17479 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-05 04:15:30 +00:00
Misha Brukman
7cf540bba0
Clean up code layout, delete extra blank line, say fibonacci' instead of
foo'
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17478 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-05 04:11:40 +00:00
Nate Begeman
28dd2fc240
Thanks to sabre for pointing out that we were incorrectly codegen'ing
...
int test(int x) { return 32768 - x; }
Fixed by teaching the function that checks a constant's validity to be used
as an immediate argument about subtract-from instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17476 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-04 19:43:18 +00:00
Chris Lattner
3c7d7ee761
Fix typeo
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17466 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-04 05:00:18 +00:00
Brian Gaeke
6931fd61c0
Handle "call" operands of type long/ulong passed in registers.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17464 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-04 00:27:04 +00:00
Chris Lattner
38f024daea
Cleanup this example, simplifying it and making it conform to LLVM coding
...
standards
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17459 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 21:43:03 +00:00
Chris Lattner
82962de3b9
Don't call Constant::getNullValue when the argument could be VoidTy
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17457 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 18:51:26 +00:00
Chris Lattner
5200ad1b34
defining __STDC_LIMIT_MACROS on the command line is not really necessary
...
for Visual Studio, and is a bit of a pain when you want to include the
LLVM headers from your own project, so I moved the check a bit down into
the Unix case to avoid the hassle... Here is a patch
Patch by Morten Ofstad!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17450 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 17:15:45 +00:00
Brian Gaeke
64aeb00928
CONFIGURATION isn't spelled Configuration, it's spelled BuildMode.
...
Due to qmtest's or llvm.py's lousy error checking, this single error
causes qmtest to fork-bomb the machine, filling the process table with
python processes that do nothing. Clearly, better error checking is
needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17449 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 17:11:23 +00:00
Reid Spencer
7315c8db39
Top level files for building natively on win32
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17447 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 16:14:40 +00:00
Reid Spencer
085ea4d39a
MS Visual Studio files for building LLVM on Win32 platforms.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17446 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 16:13:14 +00:00
Chris Lattner
da6122f61d
Fix this function to not say that longs have 8-byte alignment on X86/PPC.
...
This method is really a gross hack, but at least we can make it work on
the targets we support right now.
This bug fix stops a crash in a testcase reduced from 176.gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17443 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 22:18:18 +00:00
Tanya Lattner
80f085500f
Added gross hacks such as creating my own def-use map, and picking on Instruction that I can add all my TmpInstructions to its MCFI.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17441 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 21:04:56 +00:00
Chris Lattner
f1de30acce
Graphs that are part of equivalence sets can be multi-function SCC's
...
themselves. Make sure to update DSInfo correctly. This fixes a testcase
reduced from Prolangs-C++/objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17439 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 20:31:06 +00:00
Chris Lattner
caa35bc0b6
Correctly handle new SCC's found as a result of merging EQ graphs do to
...
function pointer equivalences. This fixes many problems, including a testcase
reduced Prolangs-C++/objects.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17437 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 19:29:59 +00:00
Chris Lattner
033a7d5389
Substantially cleanup/speedup the eq graphs pass by walking the callgraph
...
a DSGraph at a time instead of a function at a time. This is also more
correct, though it doesn't seem to fix any programs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17435 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 17:51:11 +00:00
Chris Lattner
e09e21dd1b
Fix typo, contributed by Henrik Bach!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17434 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 17:31:02 +00:00
Reid Spencer
ca5fe8fb0c
* New Recursive Target: clean-all. This target will recursively descend the
...
$(ObjDir) and clean out all build modes (Debug, Release, Profile) in
addition to the normal "clean" rules.
* Fix "clean" problems with Lex/Yacc so all files are remove properly.
* Ensure errors from "rm" don't thwart the uninstall and clean targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17433 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 16:56:15 +00:00
Reid Spencer
3d65949fa1
* New Recursive Target: clean-all
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17432 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 16:36:03 +00:00
Chris Lattner
a62869b064
Fix a warning
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17431 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 15:27:57 +00:00
Chris Lattner
983baf472f
Minor cleanups
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17428 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 06:38:58 +00:00
Chris Lattner
d308f8a87f
* Rearrange code slightly
...
* Disable broken transforms for simplifying (setcc (cast X to larger), CI)
where CC is not != or ==
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17422 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-02 03:50:32 +00:00
Reid Spencer
31f841bc48
List the individual tools for easier reference.
...
Make the bugpoint link reference the man page in the CommandGuide until
the Bugpoint.html file can describe bugpoint in a little more of a tutorial
style instead of just being a man page.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17416 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 21:57:35 +00:00
Reid Spencer
d206bc9884
Add compliant header.
...
NOTE: This doc needs to describe the bugpoint "subsystem" not the tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17415 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 21:55:46 +00:00
Reid Spencer
a81d8fc43c
Add missing tag.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17414 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 21:31:39 +00:00
Chris Lattner
4457f7ea46
Remove more dead methods
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17413 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 21:07:05 +00:00
Chris Lattner
dddc13f986
Delete a dead method
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17412 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 21:04:47 +00:00
Chris Lattner
fcb7d950bc
Rename FoldedGraph -> DSInfo to be consistent with other passes
...
delete some dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17410 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 21:02:23 +00:00
Reid Spencer
1f92301a7d
Update table to llvm.css standards.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17409 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 20:47:22 +00:00
Reid Spencer
11d45b63a2
Get rid of bogus entity references.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17408 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 20:41:01 +00:00
Chris Lattner
77408b8987
Get rid of the EquivClassGraphArgsInfo class, and the map that held it.
...
We only need one instance of the vector that it contains at a time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17407 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 20:37:00 +00:00
Chris Lattner
7cc372bfc3
Add placeholder variable to make Win32 work, applied for Morten Ofstad
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17406 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 20:10:20 +00:00
Chris Lattner
68f9658fcb
Eliminate the cloneGraph method
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17405 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 19:54:06 +00:00
Reid Spencer
936e5ca38b
Attempt CSS 2 compliance.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17404 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:26:57 +00:00
Reid Spencer
41b34ff575
Attempt CSS 2 validation.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17403 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:25:03 +00:00
Reid Spencer
0a4e8b3bc0
HTML 4.01 Strict compliance.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17402 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:22:49 +00:00
Reid Spencer
cbadf80a87
Correct the document type declaration.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17401 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:21:32 +00:00
Reid Spencer
bd72241e5e
Add the HTML 4.01 and CSS icons with links to validators.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17400 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:19:53 +00:00
Reid Spencer
c7d1d8256e
Attempt HTML 4.01 Strict compliance.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17399 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:16:30 +00:00
Reid Spencer
fe8f4fff15
Cleanup the constants section.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17398 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 09:02:53 +00:00
Reid Spencer
820e247162
Remove spurious end tag, fix indentation.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17397 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 08:30:14 +00:00
Reid Spencer
376d7acc66
Make HTML 4.01 Strict compliant.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17396 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 08:26:25 +00:00
Reid Spencer
97510e7894
Fix tag placement to make HTML 4.01 Strict compliant.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17395 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 08:24:13 +00:00
Reid Spencer
d3f876c93c
Minor format tweask for tables.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17394 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 08:19:36 +00:00
Reid Spencer
092217286f
Add layout classes for table elements so tables can be used for layouts.
...
This is easier than attempting to figure out dual purpose columnar layouts
for multiple browser types. All browsers understand tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17393 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 08:18:06 +00:00
Reid Spencer
632bd0661d
Configuration -> BuildMode
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17392 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 07:53:17 +00:00