[PATCH] D140830: [AVR] correctly declare __do_copy_data and __do_clear_bss

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 23:19:47 PST 2023


benshi001 accepted this revision.
benshi001 added a comment.
This revision is now accepted and ready to land.

You can add the lines I suggested while committing.



================
Comment at: llvm/test/CodeGen/AVR/no-clear-bss.ll:4
+; CHECK-NOT: .globl __do_clear_bss
+
+ at str = internal global [3 x i8] c"foo"
----------------
add a new line `CHECK: .globl __do_copy_data`


================
Comment at: llvm/test/CodeGen/AVR/no-copy-data.ll:2
+; RUN: llc < %s -march=avr | FileCheck %s
+
+; CHECK-NOT: .globl __do_copy_data
----------------
add `CHECK: .globl __do_clear_bss`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140830/new/

https://reviews.llvm.org/D140830



More information about the llvm-commits mailing list