[TableGen] Fix codgen of InstrMapping with multiple columns and values
authorJyun-Yan You <jyyou.tw@gmail.com>
Tue, 26 Oct 2021 04:00:23 +0000 (21:00 -0700)
committerCraig Topper <craig.topper@sifive.com>
Tue, 26 Oct 2021 04:00:49 +0000 (21:00 -0700)
commitde44af4c1db3c333d64ef7beeabd6b38193c024e
tree660b71e680ba32fb02606b9577aa70b386756750
parentb1bb1d4c46889c4cae2b6586b50c3397584fa064
[TableGen] Fix codgen of InstrMapping with multiple columns and values

This patch fixes invalid syntax of generated code for InstrMapping
that has multiple columns and values.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D111962
llvm/utils/TableGen/CodeGenMapTable.cpp