[all-commits] [llvm/llvm-project] 55ae27: [FastISel] Don't trivially kill extractvalues (PR4...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 9 09:47:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55ae279ba7a5905f39ce3ae79eac7834a4a134cc
      https://github.com/llvm/llvm-project/commit/55ae279ba7a5905f39ce3ae79eac7834a4a134cc
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-03-09 (Tue, 09 Mar 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/FastISel.h
    M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
    A llvm/test/CodeGen/X86/pr49467.ll

  Log Message:
  -----------
  [FastISel] Don't trivially kill extractvalues (PR49467)

All extractvalues of the same value at the same index will map to
the same register, so even if one specific extractvalue only has
one use, we should not mark it as a trivial kill, as there may be
more extractvalues later.

Fixes https://bugs.llvm.org/show_bug.cgi?id=49467.

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




More information about the All-commits mailing list