[all-commits] [llvm/llvm-project] 43d98a: Allow replacing intrinsic operands with variables

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 23 12:52:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 43d98a0ecfec7882419206673f04a9632c746057
      https://github.com/llvm/llvm-project/commit/43d98a0ecfec7882419206673f04a9632c746057
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M llvm/include/llvm/IR/CallSite.h
    M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/GVNSink/indirect-call.ll
    M llvm/test/Transforms/SimplifyCFG/sink-common-code.ll
    M llvm/unittests/Transforms/Utils/LocalTest.cpp

  Log Message:
  -----------
  Allow replacing intrinsic operands with variables

Since intrinsics can now specify when an argument is required to be
constant, it is now OK to replace arguments with variables if they
aren't. This means intrinsics must now be accurately marked with
immarg.




More information about the All-commits mailing list