diff options
| author | Jessica Paquette <jpaquette@apple.com> | 2019-02-09 00:29:13 +0000 |
|---|---|---|
| committer | Jessica Paquette <jpaquette@apple.com> | 2019-02-09 00:29:13 +0000 |
| commit | 1ed1dd6d9548ba18ef0e73dfbb9714000c74c1ab (patch) | |
| tree | e09ca6c47c83a4526487cecff169e963fc88faa4 /clang/lib | |
| parent | 760fee27fe1a95640477e7da98d03fbd80319b84 (diff) | |
| download | bcm5719-llvm-1ed1dd6d9548ba18ef0e73dfbb9714000c74c1ab.tar.gz bcm5719-llvm-1ed1dd6d9548ba18ef0e73dfbb9714000c74c1ab.zip | |
[GlobalISel] Skip patterns that define complex suboperands twice instead of dying
If we run into a pattern that looks like this:
add
(complex $x, $y)
(complex $x, $z)
We should skip the pattern instead of asserting/doing something unpredictable.
This makes us return an Error in that case, and adds a testcase for skipped
patterns.
Differential Revision: https://reviews.llvm.org/D57980
llvm-svn: 353586
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions

