[all-commits] [llvm/llvm-project] 3e6f7a: llvm-reduce: Fix opcode reduction leaving behind d...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Oct 23 15:37:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e6f7ab867ac8c36f0c8a91e7fa1608742702681
      https://github.com/llvm/llvm-project/commit/3e6f7ab867ac8c36f0c8a91e7fa1608742702681
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-10-23 (Sun, 23 Oct 2022)

  Changed paths:
    M llvm/test/tools/llvm-reduce/reduce-opcodes.ll
    M llvm/tools/llvm-reduce/deltas/ReduceOpcodes.cpp

  Log Message:
  -----------
  llvm-reduce: Fix opcode reduction leaving behind dead instructions

ce3c3cb2912425bb4367bfbe9a4c68a6d6f0a04a broke this by
speculatively making transforms before checking shouldKeep.
Originally I tried to roll back changes to the IR, but it's probably
best to not touch it before querying.




More information about the All-commits mailing list