From: Alex Bradbury Date: Wed, 12 Jun 2019 05:32:30 +0000 (+0000) Subject: [RISCV] Fix inline-asm.ll test by adding nounwind attribute X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5587c1846f0d4b3e90e8cc28c1908ca5a0bff321;p=llvm [RISCV] Fix inline-asm.ll test by adding nounwind attribute 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 --- diff --git a/test/CodeGen/RISCV/inline-asm.ll b/test/CodeGen/RISCV/inline-asm.ll index 58fabf868f8..31d2676b424 100644 --- a/test/CodeGen/RISCV/inline-asm.ll +++ b/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