[all-commits] [llvm/llvm-project] 46ea4b: [LV] Avoid a crash when costing a uniform store wh...
Philip Reames via All-commits
all-commits at lists.llvm.org
Thu Jun 23 12:41:57 PDT 2022
Author: Philip Reames <preames at rivosinc.com>
Date: 2022-06-23 (Thu, 23 Jun 2022)
[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.
More information about the All-commits