[PATCH] D143360: [RISCV] Clean up stack-protector-target test
Roland McGrath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 16:43:25 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2406f3bea545: [RISCV] Clean up stack-protector-target test (authored by mcgrathr).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143360/new/
https://reviews.llvm.org/D143360
Files:
llvm/test/CodeGen/RISCV/stack-protector-target.ll
Index: llvm/test/CodeGen/RISCV/stack-protector-target.ll
===================================================================
--- llvm/test/CodeGen/RISCV/stack-protector-target.ll
+++ llvm/test/CodeGen/RISCV/stack-protector-target.ll
@@ -4,13 +4,11 @@
;
; RUN: llc -mtriple=riscv64-fuchsia < %s | FileCheck --check-prefix=FUCHSIA-RISCV64 %s
-define void @func() sspreq {
+define void @func() sspreq nounwind {
; FUCHSIA-RISCV64-LABEL: func:
; FUCHSIA-RISCV64: # %bb.0:
; FUCHSIA-RISCV64-NEXT: addi sp, sp, -32
-; FUCHSIA-RISCV64-NEXT: .cfi_def_cfa_offset 32
; FUCHSIA-RISCV64-NEXT: sd ra, 24(sp) # 8-byte Folded Spill
-; FUCHSIA-RISCV64-NEXT: .cfi_offset ra, -8
; FUCHSIA-RISCV64-NEXT: ld a0, -16(tp)
; FUCHSIA-RISCV64-NEXT: sd a0, 16(sp)
; FUCHSIA-RISCV64-NEXT: addi a0, sp, 12
@@ -25,7 +23,7 @@
; FUCHSIA-RISCV64-NEXT: .LBB0_2: # %CallStackCheckFailBlk
; FUCHSIA-RISCV64-NEXT: call __stack_chk_fail at plt
%1 = alloca i32, align 4
- call void @capture(ptr nonnull %1)
+ call void @capture(ptr %1)
ret void
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143360.495322.patch
Type: text/x-patch
Size: 1061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230207/020c4ead/attachment.bin>
More information about the llvm-commits
mailing list