- Pass the Scalability test to VectorType::get in order to be
able to deserialize bitcode that contains scalable vector operations
Paths
| Differential D73144
[SVE] Pass Scalable argument to VectorType::get in Bitcode Reader ClosedPublic Authored by ctetreau on Jan 21 2020, 2:52 PM.
Details
Diff Detail
Event TimelineComment Actions If you're reposting the "same" patch because it was reverted, usually you want to reopen the existing revision, rather than post a new one. (Phabricator should give you a "reopen" option for closed reviews.) That said, at this point, it's not worth going back to fix that; there wasn't any substantial discussion posted on D72792. LGTM This revision is now accepted and ready to land.Jan 21 2020, 3:20 PM Comment Actions This is a resubmission of https://reviews.llvm.org/D72792 having fixed the test failures. Closed by commit rG38c68047b041: [SVE] Pass Scalable argument to VectorType::get in Bitcode Reader (authored by Chris Tetreault <ctetreau@quicinc.com>, committed by efriedma). · Explain WhyJan 22 2020, 12:33 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 239670 llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/test/Bitcode/vscale-round-trip.ll
|
This is the source of the bug from last patch. I passed the length of Vec1, not of the mask, which is not in line with the documented behavior of shufflevector or the original code.