annotate clang/test/CodeGen/24-bit.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +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-linux-gnu -emit-llvm -O0 -o - %s | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 static union ibtt2
anatofuz
parents:
diff changeset
4 {
anatofuz
parents:
diff changeset
5 struct ibtt0 { signed ibt0:10; unsigned short ibt1; } ibt5;
anatofuz
parents:
diff changeset
6 struct ibtt1 { signed ibt2:3; signed ibt3:9; signed ibt4:9; } ibt6;
anatofuz
parents:
diff changeset
7 } ibt15 = {{267, 15266}};
anatofuz
parents:
diff changeset
8
anatofuz
parents:
diff changeset
9 void callee_ibt0f(union ibtt2 ibtp5);
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 void test(void) {
anatofuz
parents:
diff changeset
12 // CHECK: = load i32, i32*
anatofuz
parents:
diff changeset
13 callee_ibt0f(ibt15);
anatofuz
parents:
diff changeset
14 }