This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG][RISCV] Fix SimplifyDemandedBits for scalable vectors

Authored by dtcxzyw on Mar 18 2023, 10:35 AM.



The function SimplifyDemandedBits attempts to get the bit-width of a scalable vector type while building LLVM-test-suite with -march=rv64gcv. This patch skips some simplifications since we assume we know nothing about scalable vectors for now.

Diff Detail

Event Timeline

dtcxzyw created this revision.Mar 18 2023, 10:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2023, 10:35 AM
dtcxzyw requested review of this revision.Mar 18 2023, 10:35 AM
dtcxzyw edited the summary of this revision. (Show Details)Apr 1 2023, 8:19 PM

This code has been fixed a different way in another patch

dtcxzyw abandoned this revision.Apr 1 2023, 10:17 PM