Commit Graph

10 Commits

Author SHA1 Message Date
Chris Lattner
fae5d7be19 Remove XFAIL from this test.
Swift SVN r14897
2014-03-11 00:02:31 +00:00
Greg Parker
ca04be1257 <rdar://16281854> XFAIL Optimizer/basic.ll and Optimizer/allocation-deletion.ll
Swift SVN r14888
2014-03-10 23:22:30 +00:00
Greg Parker
3360c5846e SwiftARCPasses.so -> SwiftARCPasses.dylib
Swift SVN r13874
2014-02-13 22:01:45 +00:00
Jordan Rose
d16c137877 [tests] (Partially) Revive ASan build by updating XFAILs.
"opt" is not being built with ASan, so the IR-level ARC optimizer tests
won't work.

DebugInfo/variables-repl.swift seems to be passing, possibly because we're
not using the SwiftASTStreamerPass when we generate debug info anymore.

stdlib/NewString.swift is still failing; we're not seeing the expected
capacity for a particular string.

Swift SVN r13833
2014-02-12 18:36:02 +00:00
Greg Parker
80df3138c7 [test] SwiftARCPasses.dylib is now SwiftARCPasses.so.
This will break four Optimizer tests if you do not have llvm r200762.


Swift SVN r13446
2014-02-04 21:31:32 +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
Ted Kremenek
8f5b8ccb02 Rename "This" to "Self" and "this" to "self".
This was not likely an error-free change.  Where you see problems
please correct them.  This went through a fairly tedious audit
before committing, but comments might have been changed incorrectly,
not changed at all, etc.

Swift SVN r7631
2013-08-27 21:58:27 +00:00
Chris Lattner
1f8c05dc75 teach the destructor analysis to ignore stores to 'this' object, allowing us to delete
trivial dtors like:

class File {
  var x : Int
  destructor { x = 4 }
}



Swift SVN r2565
2012-08-06 15:55:01 +00:00
Chris Lattner
4b05e121c9 teach the destructor analysis code to ignore retains and releases of
'this'.  This allows us to zap the default class dtor when it is
empty, e.g.:

class File {
}

func test() {
  var f : File = new File()
}



Swift SVN r2564
2012-08-06 15:50:00 +00:00
Chris Lattner
f603333dad split test in half.
Swift SVN r2563
2012-08-06 15:47:43 +00:00