diff options
| author | Braedy Kuzma <braedy@ualberta.ca> | 2020-07-23 15:57:22 +0100 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2020-07-23 16:02:48 +0100 |
| commit | 24e41a34fe2218b53241c9627192b70c56f3059c (patch) | |
| tree | 52487bf9973ee6cd81b0364e44bf65de103233c2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 896679733d7461b1360644848cb5f3fcbdd5294a (diff) | |
[Matrix] Add asserts for mismatched element types.
This patch clarifies the failing point of having input or output vectors
of differing types. Before, lowering would fail elsewhere (e.g. in
`fmul` creation) which may have been not immediately clear.
As a side effect, the `getElementType` and `getVectoryTy` functions
required the `const` qualifier to be added.
Reviewers: fhahn
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D84374
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
