aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorBraedy Kuzma <braedy@ualberta.ca>2020-07-23 15:57:22 +0100
committerFlorian Hahn <flo@fhahn.com>2020-07-23 16:02:48 +0100
commit24e41a34fe2218b53241c9627192b70c56f3059c (patch)
tree52487bf9973ee6cd81b0364e44bf65de103233c2 /llvm/lib/CodeGen/TargetPassConfig.cpp
parent896679733d7461b1360644848cb5f3fcbdd5294a (diff)
downloadllvm-24e41a34fe2218b53241c9627192b70c56f3059c.zip
llvm-24e41a34fe2218b53241c9627192b70c56f3059c.tar.gz
llvm-24e41a34fe2218b53241c9627192b70c56f3059c.tar.bz2
[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/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions