[llvm] [AVR] Fix incorrect selection of post indexed addresses (PR #145040)

Tom Vijlbrief via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 22 00:08:48 PDT 2025


================
@@ -0,0 +1,23 @@
+; RUN: llc < %s -O=2 -mtriple=avr-none --mcpu=avr128db28 -verify-machineinstrs | FileCheck %s
+
+declare dso_local void @nil(i16 noundef) local_unnamed_addr addrspace(1) #1
+!3 = !{!4, !4, i64 0}
----------------
tomtor wrote:

But nil() is called. Without the call the bug does not trigger.

https://github.com/llvm/llvm-project/pull/145040


More information about the llvm-commits mailing list