[PATCH] D49905: [RISCV] Fix test after new support of "interrupt" attribute landed

Roger Ferrer Ibanez via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 27 00:03:46 PDT 2018


rogfer01 created this revision.
rogfer01 added reviewers: apazos, mgrang, asb.
Herald added subscribers: rkruppe, the_o, brucehoult, MartinMosbeck, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar.

This test fails now because the attribute needs a value. I don't think for this particular test a specific value is relevant so I just went with `user`.


https://reviews.llvm.org/D49905

Files:
  test/CodeGen/RISCV/tail-calls.ll


Index: test/CodeGen/RISCV/tail-calls.ll
===================================================================
--- test/CodeGen/RISCV/tail-calls.ll
+++ test/CodeGen/RISCV/tail-calls.ll
@@ -106,7 +106,7 @@
   tail call void @callee_irq()
   ret void
 }
-attributes #0 = { "interrupt" }
+attributes #0 = { "interrupt"="user" }
 
 ; Byval parameters hand the function a pointer directly into the stack area
 ; we want to reuse during a tail call. Do not tail call optimize functions with


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49905.157649.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180727/0d01b46b/attachment.bin>


More information about the llvm-commits mailing list