[TableGen] Minor tweak to AssemblerCondDag evaluation to be more consistent with...
authorCraig Topper <craig.topper@sifive.com>
Tue, 28 Feb 2023 08:09:27 +0000 (00:09 -0800)
committerCraig Topper <craig.topper@sifive.com>
Wed, 1 Mar 2023 05:26:57 +0000 (21:26 -0800)
commitf69baa419a63039e36587cf608c04077c6d9cc88
treea4198a371af8ed10414e76aafe0f7c1bae906a5e
parenta98ee27416916c3f8af4cd229e0a633423d6d9a3
[TableGen] Minor tweak to AssemblerCondDag evaluation to be more consistent with other dags. NFC

Instead of using getAsString on the dag operator, check if the operator
is a DefInit and then get the name of the Def.
llvm/utils/TableGen/AsmWriterEmitter.cpp
llvm/utils/TableGen/SubtargetFeatureInfo.cpp