File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 55; RUN: | FileCheck -check-prefix=RV64I %s
66; RUN: llc -mtriple=riscv64 -mattr=+experimental-zicfilp -verify-machineinstrs < %s \
77; RUN: | FileCheck -check-prefix=RV64I-ZICFILP %s
8+ ; RUN: not llc -mtriple=riscv64 -target-abi=lp64e -mattr=+experimental-zicfilp \
9+ ; RUN: -verify-machineinstrs < %s 2>&1 | FileCheck -check-prefix=LP64E-ZICFILP %s
810
911; Tests that the 'nest' parameter attribute causes the relevant parameter to be
1012; passed in the right register.
@@ -63,6 +65,7 @@ define ptr @nest_caller(ptr %arg) nounwind {
6365 ret ptr %result
6466}
6567
68+ ; LP64E-ZICFILP: LLVM ERROR: Nested functions with control flow protection are not usable with ILP32E or LP64E ABI.
6669!llvm.module.flags = !{!0 }
6770
6871!0 = !{i32 8 , !"cf-protection-branch" , i32 1 }
You can’t perform that action at this time.
0 commit comments