[PATCH] D64143: [AMDGPU] Correct the setting of `FlatScratchInit`.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 10:24:40 PDT 2019


hliao added a comment.

`FlatScratchInit` is set by checking whether there are any stack objects in the early stage of codegen. As we could load MIR in any stage, even after RA, it may set that flag incorrectly by counting spilling stack slot.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64143





More information about the llvm-commits mailing list