[clang] [llvm] [AVR] Fix Avr indvar detection and strength reduction (missed optimization) (PR #152028)
Ben Shi via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 02:49:11 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]}}, {{.*}}
----------------
benshi001 wrote:
Besides changing to `TODO`, it would be better to show what are generated, such as
```
st xxxxx
sbiw xxxxx
```
https://github.com/llvm/llvm-project/pull/152028
More information about the llvm-commits
mailing list