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/bare-select.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/bare-select.ll')
| -rw-r--r-- | llvm/test/CodeGen/RISCV/bare-select.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/RISCV/bare-select.ll b/llvm/test/CodeGen/RISCV/bare-select.ll index 59add65d1db..1b8f2f63e99 100644 --- a/llvm/test/CodeGen/RISCV/bare-select.ll +++ b/llvm/test/CodeGen/RISCV/bare-select.ll @@ -2,7 +2,7 @@ ; RUN: llc -mtriple=riscv32 -verify-machineinstrs < %s \ ; RUN: | FileCheck %s -check-prefix=RV32I -define i32 @bare_select(i1 %a, i32 %b, i32 %c) { +define i32 @bare_select(i1 %a, i32 %b, i32 %c) nounwind { ; RV32I-LABEL: bare_select: ; RV32I: # %bb.0: ; RV32I-NEXT: andi a0, a0, 1 @@ -16,7 +16,7 @@ define i32 @bare_select(i1 %a, i32 %b, i32 %c) { ret i32 %1 } -define float @bare_select_float(i1 %a, float %b, float %c) { +define float @bare_select_float(i1 %a, float %b, float %c) nounwind { ; RV32I-LABEL: bare_select_float: ; RV32I: # %bb.0: ; RV32I-NEXT: andi a0, a0, 1 |

