[PATCH] D119416: [AVR] Fix a potential assert failure

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 14:12:43 PST 2022


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

Looks great!



================
Comment at: llvm/test/CodeGen/AVR/issue-43443-ctor-alias.ll:1
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=avr --mcpu=atmega328 -O0 -verify-machineinstrs | FileCheck %s
----------------
you can rename this `pr43443-ctor-alias.ll`


================
Comment at: llvm/test/CodeGen/AVR/issue-43443-ctor-alias.ll:4
+
+; This .ll file is generated from the following cpp program:
+; struct foo {
----------------
Consider `;; `

`; ` comments sometimes may be stripped by `utils/update_llc_test_checks.py`


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

https://reviews.llvm.org/D119416



More information about the llvm-commits mailing list