[PATCH] D128806: [RISCV] Fix wrong position of prologue_end

LiqinWeng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 19:33:28 PDT 2022


Miss_Grape added a comment.

In D128806#3723270 <https://reviews.llvm.org/D128806#3723270>, @StephenFan wrote:

> Looks like there is a relevant discussion: https://github.com/llvm/llvm-project/issues/56370



1. I think that spills/reload instructions are compiler-generated without relation to the source-code being compiled and would be better off without debug locations. So we neednt get DL Information in loadRegFromStackSlot/storeRegToStackSlot

2. The insertion of wrong debug information leads to the wrong insertion of prologue_end, as shown in the following figure

F24163023: image.png <https://reviews.llvm.org/F24163023>
F24163010: image.png <https://reviews.llvm.org/F24163010>


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128806/new/

https://reviews.llvm.org/D128806



More information about the llvm-commits mailing list