Skip to content

Commit 5c32a48

Browse files
committed
Fix comment
1 parent 137c182 commit 5c32a48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AVR/AVRAsmPrinter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ bool AVRAsmPrinter::doFinalization(Module &M) {
267267
// AVRs that have a separate program memory (that's most AVRs) store
268268
// .rodata sections in RAM,
269269
// but XMEGA3 family maps all flash in the data space.
270-
// Invoking __do_copy_data with 0 bytes to copy will crash,
271-
// so we let the loader handle this for newer devices.
270+
// Forcing pulling in __do_copy_data with 0 bytes to copy is a (minor)
271+
// waste, so we let the loader handle this for newer devices.
272272
if (!(SubTM->hasFeatureSetFamilyXMEGA2() ||
273273
SubTM->hasFeatureSetFamilyXMEGA3() ||
274274
SubTM->hasFeatureSetFamilyXMEGA4()))

0 commit comments

Comments
 (0)