aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenObjCXX/lambda-expressions.mm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-15 21:30:01 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-15 21:30:01 +0000
commitc0dcc2d7beaeb6a80c0c7d69086b4c8894b662a0 (patch)
tree5feb63f7a11515c8018e07aad64e49314aefaef5 /test/CodeGenObjCXX/lambda-expressions.mm
parentae03d8e52d81adbb98b31dd5c179abe45c91fc25 (diff)
Add the 'target-cpu' and 'target-features' attributes to functions.
The back-end will use these values to reconfigure code generation for different features. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175308 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX/lambda-expressions.mm')
-rw-r--r--test/CodeGenObjCXX/lambda-expressions.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenObjCXX/lambda-expressions.mm b/test/CodeGenObjCXX/lambda-expressions.mm
index ec3eb1fda5..6361d65569 100644
--- a/test/CodeGenObjCXX/lambda-expressions.mm
+++ b/test/CodeGenObjCXX/lambda-expressions.mm
@@ -25,13 +25,13 @@ typedef int (^fp)();
fp global;
void f2() { global = []{ return 3; }; }
-// MRC: define void @_Z2f2v() nounwind {
+// MRC: define void @_Z2f2v() nounwind "target-features"={{.*}} {
// MRC: store i8* bitcast (i32 (i8*)* @___Z2f2v_block_invoke to i8*),
// MRC-NOT: call
// MRC: ret void
// ("global" contains a dangling pointer after this function runs.)
-// ARC: define void @_Z2f2v() nounwind {
+// ARC: define void @_Z2f2v() nounwind "target-features"={{.*}} {
// ARC: store i8* bitcast (i32 (i8*)* @___Z2f2v_block_invoke to i8*),
// ARC: call i8* @objc_retainBlock
// ARC: call void @objc_release