[all-commits] [llvm/llvm-project] 89e1f7: [indvars] Missing variables at Og (#88270)
Carlos Alberto Enciso via All-commits
all-commits at lists.llvm.org
Tue May 21 23:10:12 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 89e1f7784be40bea96d5e65919ce8d34151c1d69
https://github.com/llvm/llvm-project/commit/89e1f7784be40bea96d5e65919ce8d34151c1d69
Author: Carlos Alberto Enciso <Carlos.Enciso at sony.com>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Utils/LoopUtils.cpp
A llvm/test/Transforms/IndVarSimplify/pr51735-1.ll
A llvm/test/Transforms/IndVarSimplify/pr51735-2.ll
A llvm/test/Transforms/IndVarSimplify/pr51735-3.ll
A llvm/test/Transforms/IndVarSimplify/pr51735.ll
Log Message:
-----------
[indvars] Missing variables at Og (#88270)
https://bugs.llvm.org/show_bug.cgi?id=51735
https://github.com/llvm/llvm-project/issues/51077
In the given test case:
```
4 ...
5 void bar() {
6 int End = 777;
7 int Index = 27;
8 char Var = 1;
9 for (; Index < End; ++Index)
10 ;
11 nop(Index);
12 }
13 ...
```
Missing local variable `Index` after loop `Induction Variable Elimination`.
When adding a breakpoint at line `11`, LLDB does not have information
on the variable. But it has info on `Var` and `End`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list