annotate clang/test/CodeGenObjC/builtin-memfns.m @ 180:680fa57a2f20

fix compile errors.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 May 2020 17:44:06 +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 x86_64-apple-macosx10.8.0 -emit-llvm -o - %s | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 void *memcpy(void *restrict s1, const void *restrict s2, unsigned long n);
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 // PR13697
anatofuz
parents:
diff changeset
6 void test1(int *a, id b) {
anatofuz
parents:
diff changeset
7 // CHECK: @test1
anatofuz
parents:
diff changeset
8 // CHECK: call void @llvm.memcpy.p0i8.p0i8.i64(i8* {{.*}}, i8* {{.*}}, i64 8, i1 false)
anatofuz
parents:
diff changeset
9 memcpy(a, b, 8);
anatofuz
parents:
diff changeset
10 }