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

Ayke via All-commits all-commits at lists.llvm.org
Mon Aug 11 05:09:09 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: ba87d05c554dbba18d42b9869ab9b95601ccae6b
      https://github.com/llvm/llvm-project/commit/ba87d05c554dbba18d42b9869ab9b95601ccae6b
  Author: Ayke <aykevanlaethem at gmail.com>
  Date:   2025-08-11 (Mon, 11 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.

(cherry picked from commit aeeb9b507750553f0e85584bda20b8d2373b3bda)



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