view clang/test/CodeGen/openmp_default_simd_align.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children c4bab56944e8
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() {
  return __builtin_omp_required_simd_align(struct s0);
  // CHECK: ret i32 16
}