diff options
author | Philip Reames <preames@rivosinc.com> | 2022-06-23 12:13:45 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-06-23 12:41:09 -0700 |
commit | 46ea4b5ea10f9363503b047a2e6a577a8603797d (patch) | |
tree | 5f4c7459781ad9770f1609e5ecb1c8093a988b38 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 4d3c010f1d012ade0ca36fdd7bc8b8baeb8df1f2 (diff) | |
download | llvm-46ea4b5ea10f9363503b047a2e6a577a8603797d.zip llvm-46ea4b5ea10f9363503b047a2e6a577a8603797d.tar.gz llvm-46ea4b5ea10f9363503b047a2e6a577a8603797d.tar.bz2 |
[LV] Avoid a crash when costing a uniform store which doesn't correspond to a legal scatter
If we have an unaligned uniform store, then when costing a scalable VF we can't emit code to scalarize it. (Well, we could, but we haven't implemented that case.) This change replaces an assert with a cost-model bailout such that we reject vectorization with the scalable VF instead of crashing.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions