summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2019-05-23 12:43:13 +0000
committerAlex Bradbury <asb@lowrisc.org>2019-05-23 12:43:13 +0000
commit5dabe03b4178c8d276cc1732fed2813418513dce (patch)
tree5509f6f8bb0ddb29901ca30b0b4763daff433e95 /llvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll
parenta4c7873dac5f416ff3f03f627484fbcfe49f654e (diff)
downloadbcm5719-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/addc-adde-sube-subc.ll')
-rw-r--r--llvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll b/llvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll
index 7c28df4c30f..068e52f6175 100644
--- a/llvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll
+++ b/llvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll
@@ -4,7 +4,7 @@
; Ensure that the ISDOpcodes ADDC, ADDE, SUBC, SUBE are handled correctly
-define i64 @addc_adde(i64 %a, i64 %b) {
+define i64 @addc_adde(i64 %a, i64 %b) nounwind {
; RV32I-LABEL: addc_adde:
; RV32I: # %bb.0:
; RV32I-NEXT: add a1, a1, a3
@@ -17,7 +17,7 @@ define i64 @addc_adde(i64 %a, i64 %b) {
ret i64 %1
}
-define i64 @subc_sube(i64 %a, i64 %b) {
+define i64 @subc_sube(i64 %a, i64 %b) nounwind {
; RV32I-LABEL: subc_sube:
; RV32I: # %bb.0:
; RV32I-NEXT: sub a1, a1, a3
OpenPOWER on IntegriCloud