diff options
author | Alex Bradbury <asb@lowrisc.org> | 2019-05-23 12:43:13 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2019-05-23 12:43:13 +0000 |
commit | 5dabe03b4178c8d276cc1732fed2813418513dce (patch) | |
tree | 5509f6f8bb0ddb29901ca30b0b4763daff433e95 /llvm/test/CodeGen/RISCV/inline-asm.ll | |
parent | a4c7873dac5f416ff3f03f627484fbcfe49f654e (diff) | |
download | bcm5719-llvm-5dabe03b4178c8d276cc1732fed2813418513dce.tar.gz bcm5719-llvm-5dabe03b4178c8d276cc1732fed2813418513dce.zip |
[RISCV][NFC] Add nounwind attribute to functions missing it in test/CodeGen/RISCV
r360897 was incomplete, must have applied an old/wip patch. This is in preparation for emitting CFI directives.
llvm-svn: 361493
Diffstat (limited to 'llvm/test/CodeGen/RISCV/inline-asm.ll')
-rw-r--r-- | llvm/test/CodeGen/RISCV/inline-asm.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/RISCV/inline-asm.ll b/llvm/test/CodeGen/RISCV/inline-asm.ll index f17852cff25..5096d45e3ca 100644 --- a/llvm/test/CodeGen/RISCV/inline-asm.ll +++ b/llvm/test/CodeGen/RISCV/inline-asm.ll @@ -6,7 +6,7 @@ @gi = external global i32 -define i32 @constraint_r(i32 %a) { +define i32 @constraint_r(i32 %a) nounwind { ; RV32I-LABEL: constraint_r: ; RV32I: # %bb.0: ; RV32I-NEXT: lui a1, %hi(gi) @@ -29,7 +29,7 @@ define i32 @constraint_r(i32 %a) { ret i32 %2 } -define i32 @constraint_i(i32 %a) { +define i32 @constraint_i(i32 %a) nounwind { ; RV32I-LABEL: constraint_i: ; RV32I: # %bb.0: ; RV32I-NEXT: #APP @@ -48,7 +48,7 @@ define i32 @constraint_i(i32 %a) { ret i32 %2 } -define void @constraint_m(i32* %a) { +define void @constraint_m(i32* %a) nounwind { ; RV32I-LABEL: constraint_m: ; RV32I: # %bb.0: ; RV32I-NEXT: #APP @@ -64,7 +64,7 @@ define void @constraint_m(i32* %a) { ret void } -define i32 @constraint_m2(i32* %a) { +define i32 @constraint_m2(i32* %a) nounwind { ; RV32I-LABEL: constraint_m2: ; RV32I: # %bb.0: ; RV32I-NEXT: #APP |