annotate clang/test/CodeGenObjC/arm64-int32-ivar.m @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple arm64-apple-ios -emit-llvm -o - %s | FileCheck %s
anatofuz
parents:
diff changeset
2 // rdar://12617764
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 // CHECK: @"OBJC_IVAR_$_I.IVAR2" = global i32 8
anatofuz
parents:
diff changeset
5 // CHECK: @"OBJC_IVAR_$_I.IVAR1" = global i32 0
anatofuz
parents:
diff changeset
6 @interface I
anatofuz
parents:
diff changeset
7 {
anatofuz
parents:
diff changeset
8 id IVAR1;
anatofuz
parents:
diff changeset
9 id IVAR2;
anatofuz
parents:
diff changeset
10 }
anatofuz
parents:
diff changeset
11 @end
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 @implementation I
anatofuz
parents:
diff changeset
14 // CHECK: [[IVAR:%.*]] = load i32, i32* @"OBJC_IVAR_$_I.IVAR2"
anatofuz
parents:
diff changeset
15 // CHECK: [[CONV:%.*]] = sext i32 [[IVAR]] to i64
anatofuz
parents:
diff changeset
16 - (id) METH { return IVAR2; }
anatofuz
parents:
diff changeset
17 @end