mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
be569ad3b9
This attribute allows the compiler to assume that the function never recurses into itself, either directly or indirectly (transitively). This can be used among other things to demote global variables to locals. llvm-svn: 252282
8 lines
265 B
LLVM
8 lines
265 B
LLVM
; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
|
|
|
|
; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (50)
|
|
|
|
; invalid.ll.bc has an invalid attribute number.
|
|
; The test checks that LLVM reports the error and doesn't access freed memory
|
|
; in doing so.
|