]> granicus.if.org Git - llvm/commitdiff
[RISCV] Fix inline-asm.ll test by adding nounwind attribute
authorAlex Bradbury <asb@lowrisc.org>
Wed, 12 Jun 2019 05:32:30 +0000 (05:32 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Wed, 12 Jun 2019 05:32:30 +0000 (05:32 +0000)
This test failed since CFI directive support was added in r361320.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363123 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/RISCV/inline-asm.ll

index 58fabf868f8cc319bedd2f176ff07b1a8bb0346a..31d2676b424c143cad1c109f6cd7037e066b8916 100644 (file)
@@ -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