Devang Patel
cda3b4d76f
Update ModulePass::assignPassManager() to take into account Preferred
...
Pass Manager Type.
llvm-svn: 33308
2007-01-17 21:19:23 +00:00
Devang Patel
b40f9ee72e
s/PassDebugging_New/PassDebugging/g
...
llvm-svn: 33307
2007-01-17 20:33:36 +00:00
Devang Patel
866ecabe21
Update assignPassManager() signature to allow selection of preferred
...
pass manager type. This allows new FPPassManager to select Call Graph
Pass Manager (if available) as its parent.
llvm-svn: 33306
2007-01-17 20:30:17 +00:00
Reid Spencer
33f1e701c9
For PR739:
...
Support overriding the prefix and DESTDIR variables from the make command
line. This makes the makefile system a little more GNU compliant and the
feature makes it easier for distribution builders to re-target the install
location of LLVM.
llvm-svn: 33305
2007-01-17 20:24:45 +00:00
Chris Lattner
cea9f391af
restructure code a bit to make use of continue (simplifying things). Generalize
...
the .zerofill directive emission to not be darwin-specific
llvm-svn: 33304
2007-01-17 17:44:25 +00:00
Chris Lattner
5f4435800e
darwin doesn't support .bss, but it does have .zerofill
...
llvm-svn: 33303
2007-01-17 17:43:33 +00:00
Chris Lattner
1a2c170bc4
add new directive
...
llvm-svn: 33302
2007-01-17 17:42:42 +00:00
Chris Lattner
6ab744575c
document that BSSSection can be null.
...
Add new ZeroFillDirective directive.
llvm-svn: 33301
2007-01-17 17:42:30 +00:00
Anton Korobeynikov
cac2ebfdee
Document flag
...
llvm-svn: 33300
2007-01-17 10:40:54 +00:00
Anton Korobeynikov
2509765bef
* Fix one more bug in PIC codegen: extra load is needed for *all*
...
non-statics.
* Introduce new option to output zero-initialized data to .bss section.
This can reduce size of binaries. Enable it by default for ELF &
Cygwin/Mingw targets. Probably, Darwin should be also added.
llvm-svn: 33299
2007-01-17 10:33:08 +00:00
Bill Wendling
6cf6bb2d24
Revert patch.
...
llvm-svn: 33298
2007-01-17 09:06:13 +00:00
Reid Spencer
16b77dade5
The Regression directory is now gone.
...
llvm-svn: 33297
2007-01-17 08:01:13 +00:00
Reid Spencer
4572ce85b0
Regression is gone, don't try to find it on clean target.
...
llvm-svn: 33296
2007-01-17 07:59:14 +00:00
Chris Lattner
135e17b756
Make tblgen error more useful. Patch by B. Scott Michel
...
llvm-svn: 33295
2007-01-17 07:45:12 +00:00
Chris Lattner
fb5249893e
make doxygen comment much better. Patch by B. Scott Michel!
...
llvm-svn: 33294
2007-01-17 07:28:48 +00:00
Reid Spencer
474538d7cd
Update for changes in location of Stacker.
...
llvm-svn: 33293
2007-01-17 05:37:42 +00:00
Chris Lattner
920e143505
remove obsolete comment
...
llvm-svn: 33292
2007-01-17 05:26:57 +00:00
Bill Wendling
60dcce11c7
Create the specified TargetObjInfo and use it.
...
llvm-svn: 33291
2007-01-17 03:51:37 +00:00
Bill Wendling
dafa644e4d
Create/store/and delete the TargetObjInfo object.
...
llvm-svn: 33290
2007-01-17 03:50:41 +00:00
Bill Wendling
ad6ddaa316
Use the methods in the TargetObjInfo object instead of internal methods.
...
llvm-svn: 33289
2007-01-17 03:49:21 +00:00
Bill Wendling
ec27b2bc2f
The TargetObjInfo object goes here.
...
llvm-svn: 33288
2007-01-17 03:48:29 +00:00
Bill Wendling
d9649bf5bb
Removed methods which are now in the respective TargetObjInfo implementations.
...
llvm-svn: 33287
2007-01-17 03:47:54 +00:00
Bill Wendling
5789edd7f5
New "TargetObjInfo" class. This holds information that the object writers will
...
use to write things to the file. It's abstract so each target should implement
its own version for each writer type.
llvm-svn: 33286
2007-01-17 03:46:30 +00:00
Reid Spencer
ad67732a72
Fix this tool for use on Darwin which requires the file to come after the
...
commands. Linux is more forgiving.
Patch by Gordon Henriksen. Thanks, Gordon!
llvm-svn: 33285
2007-01-17 03:38:22 +00:00
Reid Spencer
0ef35f9e8f
Regenerate.
...
llvm-svn: 33284
2007-01-17 02:48:45 +00:00
Reid Spencer
9dc290a59b
For PR1117:
...
Make the assembler generate a nice error message if a bad cast instruction
is attempted instead of asserting out. This is made possible by the
recently exposed method CastInst::castIsValid() which checks the validity
of any cast instruction.
llvm-svn: 33283
2007-01-17 02:47:33 +00:00
Reid Spencer
d98055f3fe
For PR1117:
...
Expose the previously hidden checkCast function as CastInst::castIsValid.
llvm-svn: 33282
2007-01-17 02:46:11 +00:00
Reid Spencer
4d13f6a1b6
Test cases for PR1117.
...
llvm-svn: 33281
2007-01-17 02:45:19 +00:00
Reid Spencer
9423a82dc3
For PR1094:
...
Adjust the use of SetVector for changes in SetVector's interface.
Patch by Gordon Henriksen.
llvm-svn: 33280
2007-01-17 02:23:37 +00:00
Reid Spencer
f1f0b585a8
For PR1094:
...
Make the SetVector::iterator be the vector's const_iterator.
llvm-svn: 33279
2007-01-17 02:22:18 +00:00
Reid Spencer
1b19c8a79f
For PR1074:
...
Remove the projects/Stacker directory. LLVM is now free of dependency
on llvm-gcc.
llvm-svn: 33278
2007-01-17 02:18:44 +00:00
Reid Spencer
78617426a0
For PR1074:
...
Adjust configuration for Stacker's new name: llvm-stacker.
llvm-svn: 33277
2007-01-17 02:14:46 +00:00
Reid Spencer
be9cfd1b85
Remove unused forward class declarations.
...
llvm-svn: 33276
2007-01-17 01:49:59 +00:00
Reid Spencer
bf05aa9690
Ignore the output directory.
...
llvm-svn: 33275
2007-01-17 01:48:42 +00:00
Reid Spencer
bbcedcf45d
Join two lines that caused awk to squak on some platforms.
...
llvm-svn: 33274
2007-01-16 22:41:12 +00:00
Devang Patel
c65137140c
Pass manager may require certain analysis. In such cases, initially
...
pass manager is last user.
llvm-svn: 33273
2007-01-16 22:38:10 +00:00
Reid Spencer
c275f4b0d5
Fix test cases. Patch by Guoling Han.
...
llvm-svn: 33272
2007-01-16 22:31:46 +00:00
Reid Spencer
6b42ad671d
Remove this test case. LLVM doesn't currently support comparison of packed.
...
llvm-svn: 33271
2007-01-16 21:58:58 +00:00
Devang Patel
e3e4fcb70f
Undo last check-in.
...
Remove setupPassManager() and its use.
llvm-svn: 33270
2007-01-16 21:43:18 +00:00
Anton Korobeynikov
47f343edc3
Missed "<" :)
...
llvm-svn: 33265
2007-01-16 20:22:18 +00:00
Devang Patel
afc2e45d40
Setup pass manager before scheduling required analysis.
...
llvm-svn: 33262
2007-01-16 19:46:09 +00:00
Reid Spencer
52170cb5e8
Add a test case for bit accurate integer types in llvm-gcc. This is
...
XFAILed for now until llvm-gcc changes are committed.
llvm-svn: 33261
2007-01-16 18:40:08 +00:00
Anton Korobeynikov
9b380c56f2
Cleanup. Comments added.
...
llvm-svn: 33260
2007-01-16 18:23:09 +00:00
Reid Spencer
90a70475df
New test cases for bit accurate integers developed by Guoling Han.
...
llvm-svn: 33259
2007-01-16 18:08:22 +00:00
Chris Lattner
c102e8919b
Fix SMG2000 with the CBE: opaque types need names too.
...
llvm-svn: 33258
2007-01-16 18:02:45 +00:00
Chris Lattner
30cef1024d
document some subtlety
...
llvm-svn: 33257
2007-01-16 17:51:40 +00:00
Anton Korobeynikov
8fbc09843e
Emit symbol type information for ELF/COFF targets
...
llvm-svn: 33256
2007-01-16 16:41:57 +00:00
Bill Wendling
efde03bbf6
Instead of yet another enum indicating the "assembly language flavor",
...
just use the one that's in the subtarget.
llvm-svn: 33255
2007-01-16 09:29:17 +00:00
Chris Lattner
de9ba0fdb4
Fix PR918 by only using typedefs to name struct types. This makes the later
...
type ordering stuff work better. This fixes PR918 and
CodeGen/CBackend/2007-01-15-NamedArrayType.ll
Patch by Gordon Henriksen.
llvm-svn: 33254
2007-01-16 07:22:23 +00:00
Chris Lattner
a1adc3b364
testcase for PR918
...
llvm-svn: 33253
2007-01-16 07:21:28 +00:00