David Blaikie
a953f2825b
Update Clang tests to handle explicitly typed load changes in LLVM.
...
llvm-svn: 230795
2015-02-27 21:19:58 +00:00
David Blaikie
218b783192
Update Clang tests to handle explicitly typed gep changes in LLVM.
...
llvm-svn: 230783
2015-02-27 19:18:17 +00:00
Stephen Lin
4362261b00
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
...
llvm-svn: 188447
2013-08-15 06:47:53 +00:00
Bill Wendling
e1c4a1babd
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
...
llvm-svn: 175878
2013-02-22 09:10:20 +00:00
John McCall
12cc42aa1b
Destroy arrays and ARC fields when throwing out of ctors.
...
Previously we were only handling non-array fields of class type.
Testcases derived from a patch by WenHan Gu.
llvm-svn: 174146
2013-02-01 05:11:40 +00:00
John McCall
e68b8f4dcc
At -O0, prefer objc_storeStrong with a null new value to the
...
combination of a load+objc_release; this is generally better
for tools that try to track why values are retained and
released. Also use objc_storeStrong when copying a block
(again, only at -O0), which requires us to do a preliminary
store of null in order to compensate for objc_storeStrong's
assign semantics.
llvm-svn: 166085
2012-10-17 02:28:37 +00:00
John McCall
9701731a3e
When initializing a catch variable in ARC, be sure to emit retains
...
or whatever else is required for the initialization instead of
assuming it can be done with a simple store.
Fixes PR11732.
llvm-svn: 148325
2012-01-17 20:16:56 +00:00