[PATCH] D75718: [WebAssembly] Fixed FrameBaseLocal not being set.

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 16:58:42 PST 2020


dschuff added a comment.

Yeah, this definitely looks like the likely fix. It's the spot where a local gets assigned that doesn't go through getLocalId. It seems to make sense to still allow this merging, as it would reduce the total number of locals. I guess it does mean that the frame base info would be incorrect when that register has the argument's value rather than the frame base's value, but presumably that would be ok, since the frame base should be live anytime a variable on the stack is live.

Were you able to reduce the IR that resulted in this to something small enough we could put in a test?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75718





More information about the llvm-commits mailing list