[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
Mon Aug 4 18:55:27 PDT 2025
================
@@ -76,26 +76,26 @@ while.end: ; preds = %while.body, %entry
ret i8 %r.0.lcssa
}
-define i16 @load16postinc(ptr %x, i16 %y) {
+define i16 @load16postinc(ptr %p, i16 %cnt) {
; CHECK-LABEL: load16postinc:
; CHECK: ld {{.*}}, {{[XYZ]}}+
; CHECK: ld {{.*}}, {{[XYZ]}}+
entry:
- %tobool2 = icmp eq i16 %y, 0
----------------
benshi001 wrote:
It would be better to keep this old test, while adding your test as a new case..
https://github.com/llvm/llvm-project/pull/152028
More information about the llvm-commits
mailing list