[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / llvm / test / CodeGen / X86 / morestack-decl.ll
blobd3b44137da5baf417f5d7a08b8efc3e4df4ae21f
1 ; RUN: llc -mcpu=generic -mtriple=x86_64-linux -code-model=large < %s | FileCheck %s
3 ; Check what happens if we have an existing declaration of __morestack_addr
5 ; CHECK:        .section        ".note.GNU-stack","",@progbits
6 ; CHECK-NEXT:   .section        .rodata,"a",@progbits
7 ; CHECK-NEXT: __morestack_addr:
8 ; CHECK-NEXT: .quad     __morestack
10 declare void @__morestack_addr()