diff options
Diffstat (limited to 'test/CodeGen/X86/prologuedata.ll')
-rw-r--r-- | test/CodeGen/X86/prologuedata.ll | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/CodeGen/X86/prologuedata.ll b/test/CodeGen/X86/prologuedata.ll new file mode 100644 index 0000000..6a50ddb --- /dev/null +++ b/test/CodeGen/X86/prologuedata.ll @@ -0,0 +1,17 @@ +; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s + +@i = linkonce_odr global i32 1 + +; CHECK: f: +; CHECK-NEXT: .cfi_startproc +; CHECK-NEXT: .long 1 +define void @f() prologue i32 1 { + ret void +} + +; CHECK: g: +; CHECK-NEXT: .cfi_startproc +; CHECK-NEXT: .quad i +define void @g() prologue i32* @i { + ret void +} |