Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / align-loops.c
blob25f8cded59f3235e09aa07bc557067411c7d2612
1 // REQUIRES: x86-registered-target
2 /// Check asm because we use llvm::TargetOptions.
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
7 // CHECK-LABEL: foo:
8 // CHECK_8: .p2align 3
9 // CHECK_32: .p2align 5
11 void bar(void);
12 void foo(void) {
13 for (int i = 0; i < 64; ++i)
14 bar();