1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -ffine-grained-bitfield-accesses \
2 // RUN: -emit-llvm -o - %s | FileCheck %s
3 // RUN: %clang_cc1 -triple riscv64-linux-gnu -ffine-grained-bitfield-accesses \
4 // RUN: -emit-llvm -o - %s | FileCheck %s
6 // Note: This test checks the X86-64 and RISC-V targets in order to explore
7 // behaviour when i8/i16 are native integer widths (X86-64) and when they're
26 // CHECK: %struct.S4 = type { i32, i16 }
27 // CHECK-NOT: %struct.S4 = type { i48 }
28 // CHECK: %struct.S5 = type { i32, i32, i16, [6 x i8] }
29 // CHECK-NOT: %struct.S5 = type { i80 }