Dan Gohman
16873c6284
Remove the #include of ScheduleDAGSDNodes.h, which is no longer necessary.
...
llvm-svn: 60712
2008-12-08 19:45:33 +00:00
Devang Patel
c6fab4f50f
Disable -loop-index-split for now.
...
llvm-svn: 60089
2008-11-26 05:01:52 +00:00
Ted Kremenek
678f8d7992
Use ScheduleDAGSDNodes.h instead of ScheduleDAG.h (stuff moved around).
...
llvm-svn: 59684
2008-11-20 00:52:19 +00:00
Daniel Dunbar
4b27eb4d26
Obey the FIXMES!
...
- Resume running the always inliner pass always now that LLVM has
been improved and functions with debug info can be inlined.
- Remove unused header.
llvm-svn: 59223
2008-11-13 05:29:02 +00:00
Daniel Dunbar
f3502dbc14
[LLVM up] Update for raw_fd_ostream change. This fixes a FIXME that
...
the Backend output should be done in binary mode.
- I'd appreciate it if someone who has a Windows build could verify
this.
llvm-svn: 59221
2008-11-13 05:09:21 +00:00
Daniel Dunbar
a94d873b4b
Move backend output out of destructor.
...
Don't free AST consumer when --disable-free is set.
llvm-svn: 59030
2008-11-11 06:35:39 +00:00
Daniel Dunbar
b3a36cf86a
Workaround an LLVM bug where inlining functions with debug info breaks
...
code generation.
- For now, disable running the always inliner pass (at -O0) if we are
also generating debug information.
llvm-svn: 58376
2008-10-29 08:50:02 +00:00
Daniel Dunbar
d745976d36
Access pass manager consistently.
...
- No functionality change.
llvm-svn: 58342
2008-10-28 19:23:05 +00:00
Daniel Dunbar
9b87dcb929
Don't double free module when IRgen fails.
...
llvm-svn: 58266
2008-10-27 20:40:41 +00:00
Nuno Lopes
36a04c8268
2nd try to fix leakage of the module provider. note that moduleprovider takes ownership of the module
...
llvm-svn: 58128
2008-10-24 23:27:18 +00:00
Nuno Lopes
a39a4cec35
fix leaking of the module provider
...
llvm-svn: 58127
2008-10-24 22:51:00 +00:00
Daniel Dunbar
6a962b162c
Hook "fast" code generation to -O0.
...
llvm-svn: 58035
2008-10-23 05:59:43 +00:00
Daniel Dunbar
71880e738a
Add -O[0-3s] support (following llvm-gcc).
...
- Passes match llvm-gcc but many of the switches aren't wired.
llvm-svn: 58034
2008-10-23 05:50:47 +00:00
Daniel Dunbar
c49d71ea61
Only create the target machine when emitting assembly.
...
llvm-svn: 57993
2008-10-22 18:29:51 +00:00
Daniel Dunbar
254be031df
[LLVM up] Get rid of std::ostream usage from Backend.cpp
...
llvm-svn: 57990
2008-10-22 17:40:45 +00:00
Daniel Dunbar
09b4e71e34
Update to use raw_ostream for PrintModulePass.
...
- Stop playing fast and loose with the std stream.
llvm-svn: 57948
2008-10-22 03:28:13 +00:00
Daniel Dunbar
c13935e8be
[LLVM up] Add basic -S option to clang.
...
- Split backend related consumer out into Backend.cpp, replaces
LLVMCodeGenWriter.
- Structure follows llvm-gcc to some extent.
- Still need to implement all the options which impact code
generation and the optimization passes which llvm-gcc uses at
various levels.
llvm-svn: 57936
2008-10-21 23:49:24 +00:00