Previously we would be unable to legalize V2S16 BUILD_VECTOR_TRUNC on GFX8 & below as the custom legalization was missing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | ||
---|---|---|
2875–2876 | These asserts are redundant. The verifier or asserts in buildMerge would catch this being wrong |
Src0 = B.buildTrunc(S16, ...).getReg(0)