[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
Mon Aug 4 22:58:11 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
----------------
tomtor wrote:
I agree
https://github.com/llvm/llvm-project/pull/152028
More information about the llvm-commits
mailing list