view clang/test/CodeGen/openmp_default_simd_align.c @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: %clang_cc1 -triple x86_64-unknown-unknown -O1 -emit-llvm -o - %s | FileCheck %s

enum e0 { E0 };
struct s0 {
  enum e0         a:31;
};

int f0(void) {
  return __builtin_omp_required_simd_align(struct s0);
  // CHECK: ret i32 16
}