mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 22:45:05 +00:00
7fdf5b1885
In an instruction like: CFI_INSTRUCTION .cfi_def_cfa ... we can drop the '.cfi_' prefix since that should be obvious by the context: CFI_INSTRUCTION def_cfa ... While being a terser and cleaner syntax this also prepares to dropping support for identifiers starting with a dot character so we can use it for expressions. Differential Revision: http://reviews.llvm.org/D22388 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276785 91177308-0d34-0410-b5e6-96231b3b80d8
28 lines
630 B
YAML
28 lines
630 B
YAML
# RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
--- |
|
|
|
|
define void @test() {
|
|
entry:
|
|
%tmp = alloca [4168 x i8], align 4
|
|
ret void
|
|
}
|
|
|
|
...
|
|
---
|
|
name: test
|
|
tracksRegLiveness: true
|
|
frameInfo:
|
|
stackSize: 4040
|
|
stack:
|
|
- { id: 0, name: tmp, offset: -4176, size: 4168, alignment: 4 }
|
|
body: |
|
|
bb.0.entry:
|
|
%rsp = SUB64ri32 %rsp, 4040, implicit-def dead %eflags
|
|
; CHECK: [[@LINE+1]]:36: expected a 32 bit integer (the cfi offset is too large)
|
|
CFI_INSTRUCTION def_cfa_offset 123456789123456
|
|
%rsp = ADD64ri32 %rsp, 4040, implicit-def dead %eflags
|
|
RETQ
|
|
...
|
|
|