summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/RISCV/inline-asm.ll
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2019-06-12 05:32:30 +0000
committerAlex Bradbury <asb@lowrisc.org>2019-06-12 05:32:30 +0000
commitaa6f2af4e6b8f0ac680132d5b8744d91972df73c (patch)
tree0347609018cb4f717317014eedf6777a22ed84e6 /llvm/test/CodeGen/RISCV/inline-asm.ll
parentcc12f68fffa944fade9a759bc42370769fdf0bef (diff)
downloadbcm5719-llvm-aa6f2af4e6b8f0ac680132d5b8744d91972df73c.tar.gz
bcm5719-llvm-aa6f2af4e6b8f0ac680132d5b8744d91972df73c.zip
[RISCV] Fix inline-asm.ll test by adding nounwind attribute
This test failed since CFI directive support was added in r361320. llvm-svn: 363123
Diffstat (limited to 'llvm/test/CodeGen/RISCV/inline-asm.ll')
-rw-r--r--llvm/test/CodeGen/RISCV/inline-asm.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/RISCV/inline-asm.ll b/llvm/test/CodeGen/RISCV/inline-asm.ll
index 58fabf868f8..31d2676b424 100644
--- a/llvm/test/CodeGen/RISCV/inline-asm.ll
+++ b/llvm/test/CodeGen/RISCV/inline-asm.ll
@@ -82,7 +82,7 @@ define i32 @constraint_m2(i32* %a) nounwind {
ret i32 %1
}
-define void @constraint_I() {
+define void @constraint_I() nounwind {
; RV32I-LABEL: constraint_I:
; RV32I: # %bb.0:
; RV32I-NEXT: #APP
@@ -107,7 +107,7 @@ define void @constraint_I() {
ret void
}
-define void @constraint_J() {
+define void @constraint_J() nounwind {
; RV32I-LABEL: constraint_J:
; RV32I: # %bb.0:
; RV32I-NEXT: #APP
@@ -125,7 +125,7 @@ define void @constraint_J() {
ret void
}
-define void @constraint_K() {
+define void @constraint_K() nounwind {
; RV32I-LABEL: constraint_K:
; RV32I: # %bb.0:
; RV32I-NEXT: #APP
OpenPOWER on IntegriCloud