[PATCH] D15546: [WebAssembly] Print an extra local decl when the user stack pointer is used

Derek Schuff via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 16:34:49 PST 2015


dschuff marked 2 inline comments as done.

================
Comment at: lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp:185
@@ -183,1 +184,3 @@
   }
+  if (MF->getFrameInfo()->getStackSize() > 0) {
+    // TODO: wasm64
----------------
well, IIUC it would be "iterate over phys regs except for ARGUMENTS and EXPR_STACK" which would leave us with SP and FP. so approximately the same level of weirdness either way?


http://reviews.llvm.org/D15546





More information about the llvm-commits mailing list