[clang] [llvm] [AVR] Fix Avr indvar detection and strength reduction (missed optimization) (PR #152028)
Patryk Wychowaniec via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 10:54:32 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]}}, {{.*}}
----------------
Patryk27 wrote:
Seems there are still a couple of `TODO: some instruction` left, no?
I'd be up for committing the actually-used registers instead of playing around with the interpolation/expression notation (`{{[XYZ]}}`) that I find a bit fragile and hard to follow, but cc @benshi001 on this decision.
https://github.com/llvm/llvm-project/pull/152028
More information about the llvm-commits
mailing list