[PATCH] D81099: [AVR][test] Remove test for naked function containing a return.
Simon Wallis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 08:12:21 PDT 2020
simonwallis2 created this revision.
simonwallis2 added reviewers: llvm-commits, dylanmckay.
Herald added a subscriber: Jim.
Herald added a project: LLVM.
Remove an old test for an explicit return in a naked function from test/CodeGen/AVR/return.ll
clang no longer allows a C return in a naked function.
This test is causing failure of the patch https://reviews.llvm.org/D80715
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D81099
Files:
llvm/test/CodeGen/AVR/return.ll
Index: llvm/test/CodeGen/AVR/return.ll
===================================================================
--- llvm/test/CodeGen/AVR/return.ll
+++ llvm/test/CodeGen/AVR/return.ll
@@ -123,12 +123,6 @@
ret i32 %result
}
-define i32 @naked(i32 %x) naked {
-; CHECK-LABEL: naked:
-; CHECK-NOT: ret
- ret i32 %x
-}
-
define avr_intrcc void @interrupt_handler() {
; CHECK-LABEL: interrupt_handler:
; CHECK: reti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81099.268199.patch
Type: text/x-patch
Size: 416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200603/b7e8d34b/attachment.bin>
More information about the llvm-commits
mailing list