Make Offsets and OpcodeOperandTypes tables human-readable by printing the
instruction name before the operand list.
In effect, this makes debugging generated getOperandType possible.
Differential D127931
[TableGen] Emit instruction name in INSTRINFO_OPERAND_TYPE Amir on Jun 15 2022, 8:41 PM. Authored by
Details Make Offsets and OpcodeOperandTypes tables human-readable by printing the In effect, this makes debugging generated getOperandType possible.
Diff Detail
Event Timeline
Comment Actions Hi, we're seeing a failure in Fuchsia's Clang CI for windows. The failing test is LLVM :: TableGen/get-operand-type.td You can find the failing bot here: https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8810810347109726705/overview If this will be hard to address, would you mind reverting until a fix is ready? Comment Actions Hi @paulkirth, Comment Actions Sorry, our CI batches builds so sometimes it's non-obvious. You can find them all under the blame heading. I think they're also somewhere else on that page, but that is always where I go. It should be 4cd416193cc126355a22b2c9e5c1df3a49b59e50. Comment Actions Sorry, you can ignore my spam here. There's a newer failure that is still ongoing and I've mis-attributed it to this change. I think you're fine as is. Again, appologies. |
This is only storing the name of the last instruction that uses the offset. An instruction with no operands won't increment CurrentOffset.