[all-commits] [llvm/llvm-project] ee58f4: Change if() continue; to an assert if a DBG_VALUE ...
Shubham Sandeep Rastogi via All-commits
all-commits at lists.llvm.org
Wed May 3 14:19:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee58f49a786d5d0823eb840df87eafc6aa01f7d1
https://github.com/llvm/llvm-project/commit/ee58f49a786d5d0823eb840df87eafc6aa01f7d1
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2023-05-03 (Wed, 03 May 2023)
Changed paths:
M llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Log Message:
-----------
Change if() continue; to an assert if a DBG_VALUE or DBG_VALUE_LIST returns a null DILocalVariable
A DBG_VALUE or DBG_VALUE_LIST must always return a non-null
DILocalVariable, the ARMLoadStoreOptimizer code that move’s DBG_VALUE
and DBG_VALUE_LIST instructions if their corresponding loads have been
moved, currently just continues if it finds a DBG_VALUE or
DBG_VALUE_LIST with a null DILocalVariable, change that to an assert.
Differential revision: https://reviews.llvm.org/D149762
More information about the All-commits
mailing list