[all-commits] [llvm/llvm-project] 4be087: [FuzzMutate] New InsertPHINode strategy.

Peter Rong via All-commits all-commits at lists.llvm.org
Wed Nov 30 15:27:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4be0873471e4f4fd646a9c5351d82dc38247abf5
      https://github.com/llvm/llvm-project/commit/4be0873471e4f4fd646a9c5351d82dc38247abf5
  Author: Peter Rong <PeterRong96 at gmail.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M llvm/include/llvm/FuzzMutate/IRMutator.h
    M llvm/include/llvm/FuzzMutate/RandomIRBuilder.h
    M llvm/lib/FuzzMutate/IRMutator.cpp
    M llvm/lib/FuzzMutate/RandomIRBuilder.cpp
    M llvm/unittests/FuzzMutate/StrategiesTest.cpp

  Log Message:
  -----------
  [FuzzMutate] New InsertPHINode strategy.

PHI Node can't be modeled like other instructions since its operand
number depends on predecessors. So we have a stand alone strategy for it.

Signed-off-by: Peter Rong <PeterRong96 at gmail.com>

Reviewed By: arsenm

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




More information about the All-commits mailing list