[all-commits] [llvm/llvm-project] 43d239: [GlobalISel] Fix incorrect setting of ValNo when s...

mikaelholmen via All-commits all-commits at lists.llvm.org
Wed Sep 30 07:09:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 43d239d0fadb1f8ea297580ca39dfbee96c913c1
      https://github.com/llvm/llvm-project/commit/43d239d0fadb1f8ea297580ca39dfbee96c913c1
  Author: Gabriel Hjort Ã…kerlund <gabriel.hjort.akerlund at ericsson.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp

  Log Message:
  -----------
  [GlobalISel] Fix incorrect setting of ValNo when splitting

Before, for each original argument i, ValNo was set to i + PartIdx, but
ValNo is intended to reflect the index of the value before splitting.
Hence, ValNo should always be set to i and not consider the PartIdx.

Reviewed By: arsenm

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




More information about the All-commits mailing list