[clang] [llvm] [AVR] Fix Avr indvar detection and strength reduction (missed optimization) (PR #152028)

Tom Vijlbrief via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 6 06:02:40 PDT 2025


================
@@ -112,8 +112,8 @@ while.end:                                        ; preds = %while.body, %entry
 
 define void @store16predec(ptr %x, i16 %y) {
 ; CHECK-LABEL: store16predec:
-; CHECK: st -{{[XYZ]}}, {{.*}}
-; CHECK: st -{{[XYZ]}}, {{.*}}
+; TODO: st -{{[XYZ]}}, {{.*}}
----------------
tomtor wrote:

I have rewritten them to be more specific. Note that for pre16 we have
sbiw r24, 2; movw r30, r24, use Z

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


More information about the llvm-commits mailing list