Discussed with @craig.topper and @spatel - this is to try and tidyup the codegen folder and move the x86 specific tests (as opposed to general tests that just happen to use x86 triples) into subfolders. Its up to other targets if they follow suit. It also helps speed up test iterations as using wildcards on lit commands often misses some filenames.
17 lines
519 B
C
17 lines
519 B
C
// REQUIRES: x86-registered-target
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -O3 -mframe-pointer=non-leaf -pg -S -o - %s | \
|
|
// RUN: FileCheck %s
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -O3 -mframe-pointer=all -pg -S -o - %s | \
|
|
// RUN: FileCheck %s
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -O3 -mframe-pointer=non-leaf -pg -S -o - %s | \
|
|
// RUN: FileCheck %s
|
|
|
|
// Test that the frame pointer is kept when compiling with
|
|
// profiling.
|
|
|
|
//CHECK: pushq %rbp
|
|
int main(void)
|
|
{
|
|
return 0;
|
|
}
|