mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
770f362410
This adds the LLVM IR attribute `mustprogress` as defined in LangRef through D86233. This attribute will be applied to functions with in languages like C++ where forward progress is guaranteed. Functions without this attribute are not required to make progress. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D85393
8 lines
176 B
LLVM
8 lines
176 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
; CHECK: [[@LINE+1]]:52: error: expected '{' in function body
|
|
define i32* @test_mustprogress(i8 %a) mustprogress 8 {
|
|
ret void
|
|
}
|
|
|