[DebugInfo][Dexter] Unreachable line stepped onto after SimplifyCFG.
When SimplifyCFG changes the PHI node into a select instruction, the debug line records becomes ambiguous. It causes the debugger to display unreachable source lines. Differential Revision: https://reviews.llvm.org/D52887 llvm-svn: 344120
Showing
- llvm/include/llvm/Transforms/Utils/Local.h 9 additions, 0 deletionsllvm/include/llvm/Transforms/Utils/Local.h
- llvm/lib/Transforms/Utils/Local.cpp 28 additions, 0 deletionsllvm/lib/Transforms/Utils/Local.cpp
- llvm/lib/Transforms/Utils/SimplifyCFG.cpp 4 additions, 18 deletionsllvm/lib/Transforms/Utils/SimplifyCFG.cpp
- llvm/test/CodeGen/X86/pr38762.ll 101 additions, 0 deletionsllvm/test/CodeGen/X86/pr38762.ll
- llvm/test/CodeGen/X86/pr38763.ll 9 additions, 11 deletionsllvm/test/CodeGen/X86/pr38763.ll
Loading
Please register or sign in to comment