]> granicus.if.org Git - llvm/commit
[TableGen] Remove error checks incorrectly failing on non-error conditions
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Sun, 15 Oct 2017 15:39:56 +0000 (15:39 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Sun, 15 Oct 2017 15:39:56 +0000 (15:39 +0000)
commit8cc053e6765aed2437eac8395c8b330d4b7c609e
tree01698a155858b0f65bd59715f223b511e0a524e3
parent53bdccfd619a08f348304e0f773072d7f8f7539d
[TableGen] Remove error checks incorrectly failing on non-error conditions

In type inference, an empty type set for a specific hw mode is not an
error. In earlier stages of the design it was, but having to use non-
parameterized types with target intrinsics necessarily led to type
contradictions: since the intrinsics used specific types, they were
only valid for a specific hw mode, and the resulting type set for other
modes ended up empty. To accommodate the existence of such intrinsics
individual type sets were allowed to be empty as long as not all sets
were empty.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315858 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenDAGPatterns.cpp