[all-commits] [llvm/llvm-project] 0327cf: [llvm-link] fix IRMover returning wrong modified v...

Nashe Mncube via All-commits all-commits at lists.llvm.org
Mon Feb 22 03:32:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0327cfe2f7620d70cd44082a172e58872ffe4105
      https://github.com/llvm/llvm-project/commit/0327cfe2f7620d70cd44082a172e58872ffe4105
  Author: Nashe Mncube <nashe.mncube at arm.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    A llvm/test/Linker/Inputs/fixed-vector-type-construction.ll
    A llvm/test/Linker/scalable-vector-type-construction.ll

  Log Message:
  -----------
  [llvm-link] fix IRMover returning wrong modified vector type

Modified scalable vector types weren't correctly returned at link-time.
The previous behaviour was a FixedVectorType was constructed
when expecting a ScalableVectorType. This commit has added a regression
test which re-creates the failure as well as a fix.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D96953




More information about the All-commits mailing list