commit | 773e19ab5206accc2edec50b0baa0da2ab97820a | [log] [tgz] |
---|---|---|
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Fri Jun 16 13:44:34 2017 +0000 |
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | Fri Jun 16 13:44:34 2017 +0000 |
tree | eeca45fe87b71f64acb26c5e95e95c24c03bcf92 | |
parent | c86dcc6411c6905c880c129641036db915adbd65 [diff] |
[TableGen] Do not assume that the first variant is the original pattern The variant generation for commutative/associative patterns would simply delete the first output from the list assuming that it was identical to the original pattern. This does not have to be the case, and a legitimate variant could actually be removed that way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305556 91177308-0d34-0410-b5e6-96231b3b80d8