Commit Graph

16 Commits

Author SHA1 Message Date
Arnold Schwaighofer
66ed615d78 Disable test/Misc/tbi.swift
It is failing a bot

rdar://31887302
2017-04-28 08:05:07 -07:00
Michael Gottesman
d4289d65ec Update the TBI test to be conditional on the arm64 code generator instead of targeting arm64.
This ensures that we run the test during normal PR testing and hopefully ensures
I never have to fix this test again = ).

rdar://24370377
2017-04-27 11:42:07 -07:00
Michael Gottesman
6c27e7ef5b Remove all stdlib dependencies from the tbi test.
This should eliminate any deployment target issues that we may run into when
using this test.

rdar://24370377
2017-04-26 19:58:27 -07:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Jordan Rose
da9630a6dc [test] Fix TBI test for SE-0055 (optional pointers).
(TBI = "top byte ignore")
2016-04-12 19:45:24 -07:00
Michael Gottesman
37f38c9ff4 Fix TBI test.
Now we perform the correct check: making sure that we have TBI on for
iOS7.0-Earlier and on for iOS8.0+Later.

The actual functionality that occurs is that we /always/ have TBI on when the
triple is an AArch64 target. Then the backend determines via the triple whether
it is supported or not for the specific os version.

I also removed the executable test bit requires since this test does not execute
anything, it just runs FileCheck tests.
2015-11-19 18:55:37 -08:00
Michael Gottesman
fda6cb0bf7 Remove option from test that did not do anything.
Since this option did not do anything, TNorthover removed it when he upstream
the tbi code.
2015-11-11 16:07:42 -08:00
Arnold Schwaighofer
f7771859d8 Rename the optimize_test feature to executable_test and document that feature.
Swift SVN r29213
2015-06-01 23:44:13 +00:00
Arnold Schwaighofer
3643c614a3 Run tests in optimize test modes
This runs all files that have a target-build-swift or target-run-stdlib-swift
RUN line in optimize test mode.

Swift SVN r29206
2015-06-01 21:23:31 +00:00
Jordan Rose
dbd286650b [test] Fix arm64 TBI test to emit assembly again (rather than IR).
I mistakenly changed this in r22672 but the TBI pass only kicks in when
lowering IR to a specific target.

Swift SVN r22766
2014-10-15 19:28:13 +00:00
Jordan Rose
70fd4a4f1d [test] Fix previous commit to pass -tbi instead of +tbi.
Swift SVN r22673
2014-10-10 19:03:48 +00:00
Jordan Rose
3fa1df6013 [test] Fix test that explicitly wants to turn off TBI on arm64.
...by horribly stacking -Xcc on top of -Xclang to pass a Clang cc1 argument.

Swift SVN r22672
2014-10-10 19:02:58 +00:00
Dmitri Hrybenko
3ed6ed872e Update the test for UnsafePointer API change
Swift SVN r20991
2014-08-04 00:34:24 +00:00
Jordan Rose
b6818046a8 Eliminate optimization levels 0-3 in favor of -Onone/-O/-Ofast.
We were already effectively doing this everywhere /except/ when building
the standard library (which used -O2), so just use the model we want going
forward.

Swift SVN r20455
2014-07-24 01:12:59 +00:00
Dave Abrahams
21669b3aee [stdlib] Add "Mutable" to [Autoreleasing]UnsafePointer
UnsafePointer becomes UnsafeMutablePointer
AutoreleasingUnsafePointer becomes AutoreleasingUnsafeMutablePointer

Swift SVN r20316
2014-07-22 16:56:23 +00:00
Adam Nemet
fb3cb3fbd9 Enable TBI for Swift
<rdar://problem/17243596>


Swift SVN r19094
2014-06-23 18:13:47 +00:00