1 // REQUIRES: x86-registered-target
2 /// 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_8
5 // RUN: %clang_cc1 -triple=x86_64 -S %s -falign-loops=32 -O -o - | FileCheck %s --check-prefixes=CHECK,CHECK_32
6 
7 // CHECK-LABEL: foo:
8 // CHECK_8:       .p2align 3, 0x90
9 // CHECK_32:      .p2align 5, 0x90
10 
11 void bar(void);
foo(void)12 void foo(void) {
13   for (int i = 0; i < 64; ++i)
14     bar();
15 }
16