[TableGen] Avoid generating switch with just default
authordstuttar <david.stuttard@amd.com>
Tue, 2 Jun 2020 18:12:54 +0000 (19:12 +0100)
committerdstuttar <david.stuttard@amd.com>
Tue, 2 Jun 2020 18:48:07 +0000 (19:48 +0100)
commit9244be7b0514c41e0fa8a2880595fa663cc2f85f
tree363c01e61bd1d92332584c87e2a385f6077824b0
parent2f7269b6773de2750f9cd1417ef5f21cd6cf7a91
[TableGen] Avoid generating switch with just default

Summary:
Switch with just default causes an MSVC warning (warning C4065: switch statement
contains 'default' but no 'case' labels).

Change-Id: I9ddeccdef93666256b5454b164b567b73b488461

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81021
llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp