[all-commits] [llvm/llvm-project] aeeb9b: [AVR] Fix codegen after getConstant assertions got...

Ayke via All-commits all-commits at lists.llvm.org
Thu Aug 7 02:40:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeeb9b507750553f0e85584bda20b8d2373b3bda
      https://github.com/llvm/llvm-project/commit/aeeb9b507750553f0e85584bda20b8d2373b3bda
  Author: Ayke <aykevanlaethem at gmail.com>
  Date:   2025-08-07 (Thu, 07 Aug 2025)

  Changed paths:
    M llvm/lib/Target/AVR/AVRISelLowering.cpp
    M llvm/test/CodeGen/AVR/cmp.ll

  Log Message:
  -----------
  [AVR] Fix codegen after getConstant assertions got enabled (#152269)

This fixes https://github.com/llvm/llvm-project/issues/152097

This commit fixes two instances of a (somewhat) recently enabled
assertion. One with a test, the other I can't reproduce (might be dead
code) but certainly looks like an instance of the same problem.

The PR that introduced the regression:
https://github.com/llvm/llvm-project/pull/117558

With this patch, the AVR backend is usable again for TinyGo.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list