[PATCH] D135251: [LoongArch] Don't merge FrameIndex accesses into [F]{LD,ST}X

Lu Weining via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 18:32:34 PDT 2022


SixWeining added a comment.

Thanks for the fix.

I tried to write a simpler test which can reproduce the crash.

  define i8 @test(i64 %i) {
    %1 = alloca ptr 
    %2 = getelementptr inbounds i8, ptr %1, i64 %i
    %3 = load i8, ptr %2
    ret i8 %3
  }

BTW. Seems @wangleiat has another approach to fix this issue. @wangleiat Do you have any comments?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135251



More information about the llvm-commits mailing list