[all-commits] [llvm/llvm-project] aabea3: llvm-reduce: Fix not removing first instruction in...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun May 1 15:28:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aabea3b2ea84a0a93c276d0abfa4219986721f38
      https://github.com/llvm/llvm-project/commit/aabea3b2ea84a0a93c276d0abfa4219986721f38
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-05-01 (Sun, 01 May 2022)

  Changed paths:
    M llvm/test/tools/llvm-reduce/mir/generic-vreg.mir
    M llvm/test/tools/llvm-reduce/mir/instr-reduce.mir
    M llvm/test/tools/llvm-reduce/mir/preserve-frame-info.mir
    M llvm/test/tools/llvm-reduce/mir/subreg-def0.mir
    M llvm/test/tools/llvm-reduce/mir/subreg-def1.mir
    M llvm/tools/llvm-reduce/deltas/ReduceInstructionsMIR.cpp

  Log Message:
  -----------
  llvm-reduce: Fix not removing first instruction in MachineBasicBlock

This had the surprising behavior of using whatever instruction
happened to be first in the block as an anchor point to stick random
implicit defs on. Use a real implicit_def instead.




More information about the All-commits mailing list