Commit Graph

12 Commits

Author SHA1 Message Date
Nadav Rotem
96cf01ba82 swift_release may cause side effects when the constructor is called.
GVN uses the swift alias analysis so we can't declare swift_release as having no side effects.

rdar://16443423



Swift SVN r16030
2014-04-07 23:54:16 +00:00
Chris Lattner
9c54d55e2f Switch another iterator over to the right one, adapting to LLVM mainline changes.
Swift SVN r14900
2014-03-11 00:32:17 +00:00
Chris Lattner
a83ec97a4f fix test/Optimizer/basic.ll, adjusting to mainline LLVM API change.
This finishes <rdar://problem/16281854> Tests Optimizer/allocation-deletion.ll and Optimizer/basic.ll are failing


Swift SVN r14898
2014-03-11 00:13:05 +00:00
Chris Lattner
1b5d338098 Fix this to use the correct APIs, so we don't miscompile the world in the arc optimizer.
I haven't verified that all the tests are updated now (I will next), but this fixes the 
basic test.



Swift SVN r14896
2014-03-11 00:01:21 +00:00
Dave Abrahams
78f8db1de8 Adjust to upstream LLVM changes
/test/Optimizer/allocation-deletion.ll is still a broken test but at
least we build now.  This commit owes much to Jordan's assistance;
thanks Jordan.

Swift SVN r14874
2014-03-10 19:00:47 +00:00
Sean Callanan
e6dc29e1e8 Fixed a missing dependency that made LLDB's build
fail.


Swift SVN r14695
2014-03-05 22:49:01 +00:00
Dmitri Hrybenko
a39d5b4f42 Track LLVM ToT header file name changes
This should unbreak the buildbot.


Swift SVN r14642
2014-03-04 13:11:01 +00:00
Michael Gottesman
3293184b2e Don't link llvm statically into libswiftOptimizeARC.a. Actually link libswiftOptimizeARC.a into SwiftARCPasses.dylib.
This patch fixes a number of issues:

1. We were not linking libswiftOptimizeARC.a into SwiftARCPasses.dylib.
2. If you did perform that linking since libswiftOptimizeARC.a had a bunch of
llvm statically linked into it, opt would see multiple instances of certain
options causing it to error out.

Now we don't statically link in a ton of LLVM into libswiftOptimizeARC.a and
properly link libswiftOptimizeARC.a into SwiftARCPasses.dylib.

Swift SVN r14557
2014-03-01 06:31:54 +00:00
Jordan Rose
d0df0cff82 [CMake] Revert SwiftARCPasses back to add_llvm_loadable_module.
This is necessary to not link in a duplicate copy of LLVMSupport. This is
the same interface as LLVM's example modules and Clang's sample plug-ins.

Fariborz, if this breaks your Xcode setup again, please let me know and I'll
come take a look. (The Clang targets work fine for me in Xcode.)

Swift SVN r14547
2014-03-01 00:44:14 +00:00
Ted Kremenek
028f9d0561 Remove rest of Makefile build except for 'docs' and 'www'.
For 'docs' and 'www' it is possible these are still being used,
as they work independent of the Makefile build.  Keeping them for now.

Swift SVN r14418
2014-02-26 22:21:25 +00:00
Jordan Rose
9b932ae909 [CMake] Attempt to fix dependencies for libswiftOptimizeARC.
Swift SVN r13195
2014-01-31 02:02:49 +00:00
Jordan Rose
fb21a2da84 Move LLVM passes into a library, and use opt to test them instead of swift.
These don't really have anything to do with Swift, and there's no reason to
include this capability in the new driver.

Swift SVN r13181
2014-01-30 23:42:38 +00:00