[all-commits] [llvm/llvm-project] ee6e25: llvm-reduce: Don't replace intrinsic calls with undef

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Oct 16 07:11:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ee6e25e4391a6d3ac0a3c89615474e512f44cda6
      https://github.com/llvm/llvm-project/commit/ee6e25e4391a6d3ac0a3c89615474e512f44cda6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-10-16 (Fri, 16 Oct 2020)

  Changed paths:
    A llvm/test/Reduce/no-replace-intrinsic-callee-with-undef.ll
    M llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp

  Log Message:
  -----------
  llvm-reduce: Don't replace intrinsic calls with undef

These don't really have function bodies to try to eliminate. This also
has a good chance of just producing invalid IR since intrinsics can
have special operand constraints (e.g. metadata arguments aren't valid
for an arbitrary call). This was wasting quite a bit of time producing
and failing on invalid IR when replacing dbg.values with undefs.




More information about the All-commits mailing list