aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorPaul Walker <paul.walker@arm.com>2023-08-08 00:28:27 +0100
committerPaul Walker <paul.walker@arm.com>2023-08-09 12:50:02 +0000
commitb7e6e568b4f28124060b868e433f36af18c510db (patch)
treefc39d00fead69a5398764b443efd95803e47b357 /clang/lib/Frontend/CompilerInvocation.cpp
parent175850f98726b543f9a1f5309d5fded481e60efa (diff)
downloadllvm-b7e6e568b4f28124060b868e433f36af18c510db.zip
llvm-b7e6e568b4f28124060b868e433f36af18c510db.tar.gz
llvm-b7e6e568b4f28124060b868e433f36af18c510db.tar.bz2
[SelectionDAG] Fix problematic call to EVT::changeVectorElementType().
The function changeVectorElementType assumes MVT input types will result in MVT output types. There's no gurantee this is possible during early code generation and so this patch converts an instance used during initial DAG construction to instead explicitly create a new EVT. NOTE: I could have added more MVTs, but that seemed unscalable as you can either have MVTs with 100% element count coverage or 100% bitwidth coverage, but not both. Differential Revision: https://reviews.llvm.org/D157392
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions