Arnold Schwaighofer
fc766a39d3
Fix some more tests
2023-06-29 16:16:56 -07:00
Arnold Schwaighofer
c1a93e0bde
Move tests over to use the %use_no_opaque_pointers option
2023-06-14 10:49:48 -07:00
Slava Pestov
9ec80df97e
SIL: Remove curried SILDeclRefs
2020-03-19 02:20:21 -04:00
Michael Gottesman
fd4828e40a
Eliminate -assume-parsing-unqualified-ownership-sil from tests.
...
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00
Slava Pestov
7bf3b90b62
SIL: Split off objc_method / objc_super_method from class_method / super_method
...
This replaces the '[volatile]' flag. Now, class_method and
super_method are only used for vtable dispatch.
The witness_method instruction is still overloaded for use
with both ObjC protocol requirements and Swift protocol
requirements; the next step is to make it only mean the
latter, also using objc_method for ObjC protocol calls.
2017-10-03 22:13:31 -07:00
Greg Parker
b7f744c302
[test] Replace CPU=i386_or_x86_64 with CPU=i386 || CPU=x86_64. ( #11889 )
2017-09-12 19:34:08 -07:00
Robert Widmann
71bf312a25
Migrate the rest of the tests to %empty-directory
2017-06-04 11:08:39 -07:00
Arnold Schwaighofer
8efc47fbae
IRGen: Fix Objective-C class allocation path
...
We need to cast the returned pointer to the class type. Heed John's advice and
sink the bitcast into the allocation function.
rdar://32264626
2017-05-19 07:43:11 -07:00
Erik Eckstein
c4a11f4c92
tests: remove the now unused option -new-mangling-for-tests
2017-03-22 11:28:43 -07:00
Greg Parker
6295f3d8b3
Revert "[test] Remove CPU=i386_or_x86_64 hack."
...
Swift master uses LLVM swift-4.0-branch, which does not yet have
the lit change implementing this syntax.
This reverts commit dfd10ae485 .
2017-02-28 14:59:31 -08:00
Greg Parker
dfd10ae485
[test] Remove CPU=i386_or_x86_64 hack.
...
LLVM lit now supports boolean expressions in REQUIRES: directives.
2017-02-16 16:27:15 -08:00
Arnold Schwaighofer
2307145c0e
IRGen: Cast an ObjC allocation to the instantiated class type
...
Lowering of phi nodes expects the more refined type rather than objc_object.
rdar://30268690
2017-02-07 11:07:13 -08:00