[PATCH] D51318: [WebAssembly] TableGen backend for stackifying instructions
Wouter van Oortmerssen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 27 14:53:37 PDT 2018
aardappel added inline comments.
================
Comment at: utils/TableGen/WebAssemblyStackifierEmitter.cpp:24
+ if (!RecordPair.second->isSubClassOf(InstrClass)) continue;
+ bool IsStackBased = RecordPair.second->getValueAsBit("StackBased");
+ if (IsStackBased) continue;
----------------
This is going to throw an exception if the field isn't there, but I guess that is ok in this situation?
Repository:
rL LLVM
https://reviews.llvm.org/D51318
More information about the llvm-commits
mailing list