Reid Spencer
24f0a4a816
Make it possible to override the standard version printer. Not all tools
...
built with CommandLine.h will want the --version option to report that the
tool belongs to LLVM. To override simply pass a void func() to the
cl::SetVersionPrinter() function and that void func() will be called when
it is time to print the version information.
llvm-svn: 28687
2006-06-05 16:22:56 +00:00
Reid Spencer
f640054d89
For PR633:
...
Add configure checks for setjmp/longjmp for Chris. I can't believe this easy
PR has been outstanding for so long. If I don't get to something, please
remind me! :)
llvm-svn: 28686
2006-06-05 16:11:07 +00:00
Reid Spencer
5b66af25d5
Some enhancements for gv/graphviz/dot/dotty support and better handling of
...
paths under MingW.
llvm-svn: 28685
2006-06-05 15:54:38 +00:00
Reid Spencer
d9e9ae6b64
For PR798:
...
Add support for Graphviz. Patch contributed by Anton Korobeynikov.
llvm-svn: 28684
2006-06-05 15:44:46 +00:00
Evan Cheng
8d9b7650f1
A few new entries.
...
llvm-svn: 28683
2006-06-04 09:08:00 +00:00
Evan Cheng
6fd191494f
Be consistent with gcc.
...
llvm-svn: 28682
2006-06-04 07:24:07 +00:00
Owen Anderson
a7969cf3bc
Update the regression tests, and add a new one encountered while compiling crtend.
...
llvm-svn: 28681
2006-06-04 00:56:30 +00:00
Owen Anderson
4343713be4
Some more clean-up, and squash an IDF-Phi related bug.
...
llvm-svn: 28680
2006-06-04 00:55:19 +00:00
Andrew Lenharth
813c3dcf58
ignore ordered/unordered for now
...
llvm-svn: 28679
2006-06-04 00:25:51 +00:00
Owen Anderson
1a72d98dd2
Various clean-ups suggested by Chris.
...
llvm-svn: 28678
2006-06-04 00:02:23 +00:00
Owen Anderson
b83c3beb44
Fix a bug in Phi-noded insertion. Also, update some comments to reflect what's
...
actually going on.
llvm-svn: 28677
2006-06-03 23:22:50 +00:00
Reid Spencer
d7936177c3
Document the LINK_LIBS_IN_SHARED control variable.
...
llvm-svn: 28676
2006-06-03 18:55:33 +00:00
Chris Lattner
b2e5814fae
temporarily add back this option, I will remove it in a couple days
...
llvm-svn: 28675
2006-06-02 23:43:27 +00:00
Reid Spencer
6587691f1e
For PR798:
...
Have configure find the "dotty" program and adjust configuration.
llvm-svn: 28674
2006-06-02 23:13:18 +00:00
Chris Lattner
62737129a4
More of PR728, don't install utils either.
...
llvm-svn: 28673
2006-06-02 22:41:18 +00:00
Evan Cheng
696779cea0
Cygwin support. Patch by Anton Korobeynikov!
...
llvm-svn: 28672
2006-06-02 22:38:37 +00:00
Chris Lattner
67d357bb6b
Part of PR728, don't install examples or projects.
...
llvm-svn: 28671
2006-06-02 22:34:39 +00:00
Chris Lattner
9cfabaf195
Fix a -pedantic warning
...
llvm-svn: 28670
2006-06-02 22:11:06 +00:00
Chris Lattner
2a1a013f1d
Add flags to get access to build_mode, objdir, srcdir etc.
...
If installed, ignore the prefix the tree is configured with: always use the
prefix that llvm-config is currently at, which may be different if the tree
was moved.
llvm-svn: 28669
2006-06-02 22:03:50 +00:00
Chris Lattner
58709a9965
Make llvm-config "do the right thing" when an install tree is relocated or
...
when run out of a build directory.
llvm-svn: 28668
2006-06-02 21:48:10 +00:00
Evan Cheng
ddb0525a32
Use xor to clear a register.
...
llvm-svn: 28667
2006-06-02 21:20:34 +00:00
Evan Cheng
ed96100b00
Incorrect AT&T opcode.
...
llvm-svn: 28666
2006-06-02 21:09:10 +00:00
Chris Lattner
f6262f0c01
Capture the build mode (e.g. Debug/Release) in the llvm-config script.
...
llvm-svn: 28665
2006-06-02 19:13:29 +00:00
Chris Lattner
6cca762d5f
Remove unneeded hook. Patch by Anton K. Thanks!
...
llvm-svn: 28664
2006-06-02 19:11:46 +00:00
Chris Lattner
f49f76bae4
Convert to standard file header
...
llvm-svn: 28663
2006-06-02 18:58:21 +00:00
Chris Lattner
e00b96984a
Remove a couple of things no longer figured out by autoconf
...
llvm-svn: 28662
2006-06-02 18:55:36 +00:00
Chris Lattner
d14d882c4a
Add mingw support, patch contributed by Anton
...
llvm-svn: 28661
2006-06-02 18:54:01 +00:00
Chris Lattner
0f5ef733cc
Force anything that #includes llvm/Transforms/Utils/UnifyFunctionExitNodes.h
...
to link in the implementation. Thanks to Anton Korobeynikov for figuring out
what was going on here.
llvm-svn: 28660
2006-06-02 18:40:06 +00:00
Reid Spencer
a3e44daec0
Add several more autoconf variables so that new features can be implemented
...
by our illustrious project leader.
llvm-svn: 28659
2006-06-02 18:31:41 +00:00
Chris Lattner
da2c53470b
Fix build on systems with broken bison
...
llvm-svn: 28658
2006-06-02 18:21:11 +00:00
Chris Lattner
5cba9093c8
Fix build on systems with bad bison's
...
llvm-svn: 28657
2006-06-02 18:20:28 +00:00
Chris Lattner
d9472f85e9
Add tblgen to the index
...
llvm-svn: 28656
2006-06-02 17:43:38 +00:00
Chris Lattner
9df1ebcb16
tblgen isn't related to llvm2cpp. Fix typo
...
llvm-svn: 28655
2006-06-02 17:41:19 +00:00
Chris Lattner
960386a1cf
Add a gross "--use-current-dir-as-prefix" option as a temporary workaround
...
for the "build with one prefix and move the installed files to another dir"
problem.
llvm-svn: 28654
2006-06-02 01:23:18 +00:00
Chris Lattner
0f2c3368eb
Remove some variables from the configured section that aren't.
...
llvm-svn: 28653
2006-06-02 01:04:35 +00:00
Chris Lattner
ebf12c3fcb
Remove more "alpha is archive" stuff.
...
llvm-svn: 28652
2006-06-02 00:56:15 +00:00
Reid Spencer
e23e4b438c
Remove some flags backed out from earlier attempts at getting MING32W
...
configuration settled down.
llvm-svn: 28651
2006-06-02 00:40:35 +00:00
Reid Spencer
6919c1b53f
Suppress -pedantic warnings about print("%a")
...
llvm-svn: 28650
2006-06-02 00:39:08 +00:00
Chris Lattner
d04d3c12d6
Remove obsolete CORE_IS_ARCHIVE support
...
llvm-svn: 28649
2006-06-02 00:30:31 +00:00
Chris Lattner
bc5c91bb42
Remove obsolete CORE_IS_ARCHIVE stuff.
...
llvm-svn: 28648
2006-06-02 00:27:42 +00:00
Chris Lattner
2e015da996
Update the ignore file
...
llvm-svn: 28647
2006-06-02 00:23:15 +00:00
Reid Spencer
956e28746c
Document the -gen-inline option.
...
llvm-svn: 28646
2006-06-01 23:46:30 +00:00
Reid Spencer
af36a41a09
Teach CppWriter how to emit an inline (partial) function.
...
llvm-svn: 28645
2006-06-01 23:43:47 +00:00
Rafael Espindola
592953affb
added some tests for argument passing
...
llvm-svn: 28644
2006-06-01 22:01:25 +00:00
Chris Lattner
a3888ec9bb
testcase for the recent inliner improvement.
...
llvm-svn: 28643
2006-06-01 21:54:58 +00:00
Chris Lattner
3300df2fb9
Remove dead #include
...
llvm-svn: 28642
2006-06-01 20:02:28 +00:00
Chris Lattner
93c46b83b6
Make the "pruning cloner" smarter. As it propagates constants through the
...
code (while cloning) it often gets the branch/switch instructions. Since it
knows that edges of the CFG are dead, it need not clone (or even look) at
the obviously dead blocks. This should speed up the inliner substantially on
code where there are lots of inlinable calls to functions with constant
arguments. On C++ code in particular, this kicks in.
llvm-svn: 28641
2006-06-01 19:19:23 +00:00
Chris Lattner
609f7e070d
Fix linking of inline asm objects.
...
llvm-svn: 28640
2006-06-01 19:14:22 +00:00
Reid Spencer
b41365509f
Provide configuration support and usage for MINGW32 platform
...
llvm-svn: 28639
2006-06-01 19:03:21 +00:00
Reid Spencer
00ee1dc6ea
Don't build tblgen with -pedantic or -Wno-long-long
...
llvm-svn: 28638
2006-06-01 18:20:23 +00:00