diff options
author | Alok Kumar Sharma <AlokKumar.Sharma@amd.com> | 2020-09-11 11:11:39 +0530 |
---|---|---|
committer | Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com> | 2020-09-11 11:12:49 +0530 |
commit | e45b0708ae81ace27de53f12b32a80601cb12bf3 (patch) | |
tree | 59587048e68b851478979b21f6657c2c1a849934 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | da9244882804ec6479aac70334fd7f7b4baf855e (diff) | |
download | llvm-e45b0708ae81ace27de53f12b32a80601cb12bf3.zip llvm-e45b0708ae81ace27de53f12b32a80601cb12bf3.tar.gz llvm-e45b0708ae81ace27de53f12b32a80601cb12bf3.tar.bz2 |
[DebugInfo] Fixing CodeView assert related to lowerBound field of DISubrange.
This is to fix CodeView build failure https://bugs.llvm.org/show_bug.cgi?id=47287
after DIsSubrange upgrade D80197
Assert condition is now removed and Count is calculated in case LowerBound
is absent or zero and Count or UpperBound is constant. If Count is unknown
it is later handled as VLA (currently Count is set to zero).
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D87406
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions