Avoid building illegal G_CONCAT_VECTORS or G_BUILD_VECTOR instructions.
This happens when G_CONCAT_VECTORS or G_BUILD_VECTOR instructions aren't legal with the LCM (Least Common Multiple) type and
GCD (Greatest Common Divisor) type as their types.
Details
Details
- Reviewers
foad arsenm Petar.Avramovic mbrkusanin
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | ||
---|---|---|
230 | In general I don't think legalization action implementations should be concerned with the legality of what they are producing (beyond heuristics to choose a more optimal lowering). i.e. this patch should not solve a legalization failure |
In general I don't think legalization action implementations should be concerned with the legality of what they are producing (beyond heuristics to choose a more optimal lowering). i.e. this patch should not solve a legalization failure