[llvm] r363123 - [RISCV] Fix inline-asm.ll test by adding nounwind attribute

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 22:32:30 PDT 2019


Author: asb
Date: Tue Jun 11 22:32:30 2019
New Revision: 363123

URL: http://llvm.org/viewvc/llvm-project?rev=363123&view=rev
Log:
[RISCV] Fix inline-asm.ll test by adding nounwind attribute

This test failed since CFI directive support was added in r361320.

Modified:
    llvm/trunk/test/CodeGen/RISCV/inline-asm.ll

Modified: llvm/trunk/test/CodeGen/RISCV/inline-asm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/RISCV/inline-asm.ll?rev=363123&r1=363122&r2=363123&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/RISCV/inline-asm.ll (original)
+++ llvm/trunk/test/CodeGen/RISCV/inline-asm.ll Tue Jun 11 22:32:30 2019
@@ -82,7 +82,7 @@ define i32 @constraint_m2(i32* %a) nounw
   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




More information about the llvm-commits mailing list