Chris Lattner
40c5cf2d75
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
c3e42bb0cf
Remove some variables from the configured section that aren't.
...
llvm-svn: 28653
2006-06-02 01:04:35 +00:00
Chris Lattner
2f9bea15f0
Remove more "alpha is archive" stuff.
...
llvm-svn: 28652
2006-06-02 00:56:15 +00:00
Reid Spencer
54e7880bf0
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
aa1b11cdc3
Suppress -pedantic warnings about print("%a")
...
llvm-svn: 28650
2006-06-02 00:39:08 +00:00
Chris Lattner
323906e028
Remove obsolete CORE_IS_ARCHIVE support
...
llvm-svn: 28649
2006-06-02 00:30:31 +00:00
Chris Lattner
4d1eeb48e0
Remove obsolete CORE_IS_ARCHIVE stuff.
...
llvm-svn: 28648
2006-06-02 00:27:42 +00:00
Chris Lattner
194819bd90
Update the ignore file
...
llvm-svn: 28647
2006-06-02 00:23:15 +00:00
Reid Spencer
e53b4ca089
Document the -gen-inline option.
...
llvm-svn: 28646
2006-06-01 23:46:30 +00:00
Reid Spencer
b83051a28f
Teach CppWriter how to emit an inline (partial) function.
...
llvm-svn: 28645
2006-06-01 23:43:47 +00:00
Rafael Espindola
a124c91242
added some tests for argument passing
...
llvm-svn: 28644
2006-06-01 22:01:25 +00:00
Chris Lattner
3f1c2c0e66
testcase for the recent inliner improvement.
...
llvm-svn: 28643
2006-06-01 21:54:58 +00:00
Chris Lattner
cdf2b1fc30
Remove dead #include
...
llvm-svn: 28642
2006-06-01 20:02:28 +00:00
Chris Lattner
cc340c02a4
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
c774592641
Fix linking of inline asm objects.
...
llvm-svn: 28640
2006-06-01 19:14:22 +00:00
Reid Spencer
187b4adcfe
Provide configuration support and usage for MINGW32 platform
...
llvm-svn: 28639
2006-06-01 19:03:21 +00:00
Reid Spencer
5cb722f320
Don't build tblgen with -pedantic or -Wno-long-long
...
llvm-svn: 28638
2006-06-01 18:20:23 +00:00
Reid Spencer
8273cdb754
Make sure windows.h is #included first.
...
llvm-svn: 28637
2006-06-01 17:44:29 +00:00
Chris Lattner
71819be586
Fix -pedantic warnings.
...
llvm-svn: 28636
2006-06-01 17:29:22 +00:00
Chris Lattner
e1ade0a523
Fix -pedantic warnings
...
llvm-svn: 28635
2006-06-01 17:27:11 +00:00
Chris Lattner
20a4da4dfd
Fix -pedantic warning
...
llvm-svn: 28634
2006-06-01 17:17:46 +00:00
Chris Lattner
4442a70b3a
Silence -pedantic warning
...
llvm-svn: 28633
2006-06-01 17:17:06 +00:00
Chris Lattner
f905a7b994
Silence a -pedantic warning.
...
llvm-svn: 28632
2006-06-01 17:16:21 +00:00
Reid Spencer
e62348f401
Make sure that when checking for MINGW32 libraries we ask for windows.h
...
llvm-svn: 28631
2006-06-01 17:16:20 +00:00
Chris Lattner
b47b8a9fad
Silence -pedantic warning.
...
llvm-svn: 28630
2006-06-01 17:13:10 +00:00
Chris Lattner
dcd73534df
Silence some -pedantic warnings.
...
llvm-svn: 28629
2006-06-01 17:12:14 +00:00
Reid Spencer
a16b986df5
Provide support for detecting if the Win32 imaghlp and psapi libraries
...
are available. These libraries are used in lib/System and should be
included on the link line or if not available generate an error when
building lib/System.
llvm-svn: 28628
2006-06-01 16:55:59 +00:00
Chris Lattner
409527937a
Fix a typo
...
llvm-svn: 28627
2006-06-01 16:48:56 +00:00
Reid Spencer
9c226205e2
Make a shorthand target for running the llvm2cpp test suite. This test
...
suite is disabled by default because of the length of time it takes to
run. To enable it certain command line fu must be used. This patch just
encodes the command line fu as the magical "check-llvm2cpp" target.
llvm-svn: 28626
2006-06-01 07:27:53 +00:00
Reid Spencer
3364e527bc
Restore default arguments for llvm2cpp back to health by declaring an
...
emitted variable to actually have a type (picky, picky, picky!)
llvm-svn: 28625
2006-06-01 07:24:29 +00:00
Reid Spencer
569f3913a9
No, libLLVMbzip2 does not have a .a suffix.
...
llvm-svn: 28624
2006-06-01 07:23:32 +00:00
Reid Spencer
d661a4c218
Fix gcc command line options after LLVMCore and LLVMbzip2 became archive
...
libraries.
llvm-svn: 28623
2006-06-01 07:19:28 +00:00
Reid Spencer
f69d4c8f3b
Favor C++ casts over C casts in C++ code.
...
llvm-svn: 28622
2006-06-01 07:03:53 +00:00
Reid Spencer
5861659a1e
Change from using a stub function to a stub variable for passing to the
...
IncludeFile hack to ensure linkage of analysis passes. This works around
some -pedantic warnings about assigning an object to a function.
llvm-svn: 28621
2006-06-01 07:02:51 +00:00
Reid Spencer
cd8f67a106
Prevent the -pedantic option from causing Mac OS/X build problems:
...
LiveIntervalAnalysis.cpp:218: error: floating constant exceeds range of 'double'
llvm-svn: 28620
2006-06-01 06:12:21 +00:00
Owen Anderson
619e4ba57f
Remove a FIXME that was fixed with my last patch.
...
llvm-svn: 28619
2006-06-01 06:07:40 +00:00
Owen Anderson
cd76fa04a1
More cleanups. Also, add a special case for updating PHI nodes, and
...
reimplement getValueDominatingFunction to walk the DominanceTree rather than
just searching blindly.
llvm-svn: 28618
2006-06-01 06:05:47 +00:00
Evan Cheng
2b2c1be49c
Typos
...
llvm-svn: 28617
2006-06-01 05:53:27 +00:00
Reid Spencer
75f29be136
For PR786:
...
Don't warn about -pedantic errors. Add a note to the PR instead.
llvm-svn: 28616
2006-06-01 05:49:51 +00:00
Reid Spencer
83f6d05c08
Fix a bug where incorrect C++ was being emitted.
...
llvm-svn: 28615
2006-06-01 04:21:20 +00:00
Reid Spencer
a62f097c96
For PR786:
...
Turn -pedantic and -Wno-long-long compile flags on by default. In a few
places, avoid the warnings by removing these options in the local makefile.
One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are
left on as a reminder to developers to clean them up.
llvm-svn: 28614
2006-06-01 01:55:21 +00:00
Reid Spencer
08f1030658
Build llvm-config into the ToolDir not in the local directory. This makes
...
it more likely to be in a developer's path and consistent with all the
other tools.
llvm-svn: 28613
2006-06-01 01:52:49 +00:00
Reid Spencer
54d1f85b19
Put an innocuous statement in this file to quelch warnings about compiling
...
an empty file.
llvm-svn: 28612
2006-06-01 01:49:08 +00:00
Reid Spencer
7fa8f334bf
Oops, llc needs libTarget.a not Target.o
...
llvm-svn: 28611
2006-06-01 01:42:33 +00:00
Reid Spencer
a647c7ff42
Use archive libraries instead of object files for VMCore, BCReader,
...
BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate
these changes. This was done to speed up link times.
llvm-svn: 28610
2006-06-01 01:30:27 +00:00
Reid Spencer
6c8368beea
Support correct build:
...
1. Capture the ENABLE_THREADS configure variable in Makefile.config
2. Use ENABLE_THREADS to avoid building ParallelJIT if threads are not
present.
llvm-svn: 28609
2006-06-01 01:09:43 +00:00
Reid Spencer
f659e70041
Tighten this script up a bit.
...
llvm-svn: 28608
2006-06-01 01:08:28 +00:00
Evan Cheng
2489ccdd90
Remove a warning
...
llvm-svn: 28607
2006-06-01 00:30:39 +00:00
Evan Cheng
cfaffdd335
Rename ASM modifier trunc8, trunc16 to subreg8, subreg16.
...
llvm-svn: 28606
2006-05-31 22:34:26 +00:00
Reid Spencer
ff82596981
Fix casting so there's no warning on Alpha.
...
llvm-svn: 28605
2006-05-31 22:26:11 +00:00