[all-commits] [llvm/llvm-project] 1aecb0: [RISCV] Clear kill flags when forming FMA instruct...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jul 12 08:07:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1aecb0e000e4efaa347e836e7ac06e070559dc2c
      https://github.com/llvm/llvm-project/commit/1aecb0e000e4efaa347e836e7ac06e070559dc2c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    A llvm/test/CodeGen/RISCV/machine-combiner.mir

  Log Message:
  -----------
  [RISCV] Clear kill flags when forming FMA instructions in MachineCombiner.

If the operands to the mul have other uses we may be extending their
live range past a kill flag.

Reviewed By: asb, asi-sc

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




More information about the All-commits mailing list