[all-commits] [llvm/llvm-project] 3c47dd: [FuzzMutate] Support opaque pointers

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Mar 10 05:36:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c47dd47a42a87b9724a558a6baeab5a8d6e4a69
      https://github.com/llvm/llvm-project/commit/3c47dd47a42a87b9724a558a6baeab5a8d6e4a69
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M llvm/include/llvm/FuzzMutate/OpDescriptor.h
    M llvm/lib/FuzzMutate/Operations.cpp
    M llvm/lib/FuzzMutate/RandomIRBuilder.cpp

  Log Message:
  -----------
  [FuzzMutate] Support opaque pointers

Avoid checks that are irrelevant for opaque pointers, and pick
load/GEP types independently of the pointer type.

The GEP case at least could be done more efficiently by directly
generating a type, but this would require some significant API
changes.




More information about the All-commits mailing list