TableGen: Remove assert that pattern results match input number
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 29 Aug 2019 19:10:12 +0000 (15:10 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 7 Nov 2019 00:06:37 +0000 (16:06 -0800)
commit9f9f42dbc5f54bbee6785a62acc8cd7e5ed12ea5
tree78cfe903789ad7d26ac81e9b25352eaa996876a3
parente511c4b0dff1692c267addf17dce3cebe8f97faa
TableGen: Remove assert that pattern results match input number

AMDGPU has some atomic instructions that do not return the previous
result, and can only be selected if there are no uses. The source
pattern will only match if the use is empty, so it should be safe to
discard the result.
llvm/utils/TableGen/DAGISelMatcherGen.cpp