diff options
author | James Molloy <james.molloy@arm.com> | 2015-11-06 10:32:53 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2015-11-06 10:32:53 +0000 |
commit | d001932f3a8aa1ebd1555162fdce365f011bc292 (patch) | |
tree | 1f61bc6ac09f2ddb1c7c0235303e3dde4b3821da /test/Bitcode/invalid.ll | |
parent | 2c55ab4f58c262f006d1b1e62607d3ae261c4756 (diff) |
Add a new attribute: norecurse
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Bitcode/invalid.ll')
-rw-r--r-- | test/Bitcode/invalid.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Bitcode/invalid.ll b/test/Bitcode/invalid.ll index df9fec8772d..2f2eca94321 100644 --- a/test/Bitcode/invalid.ll +++ b/test/Bitcode/invalid.ll @@ -1,6 +1,6 @@ ; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s -; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (48) +; 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 |