brintos

brintos / llvm-project-archived public Read only

0
0
Text · 466 B · 25f8cde Raw
16 lines · c
1// REQUIRES: x86-registered-target2/// Check asm because we use llvm::TargetOptions.3 4// RUN: %clang_cc1 -triple=x86_64 -S %s -falign-loops=8 -O -o - | FileCheck %s --check-prefixes=CHECK,CHECK_85// RUN: %clang_cc1 -triple=x86_64 -S %s -falign-loops=32 -O -o - | FileCheck %s --check-prefixes=CHECK,CHECK_326 7// CHECK-LABEL: foo:8// CHECK_8:       .p2align 39// CHECK_32:      .p2align 510 11void bar(void);12void foo(void) {13  for (int i = 0; i < 64; ++i)14    bar();15}16