[InstSimplify] Actually use NewOps for calls in simplifyInstructionWithOperands
authorArthur Eubanks <aeubanks@google.com>
Wed, 22 Mar 2023 01:00:08 +0000 (18:00 -0700)
committerArthur Eubanks <aeubanks@google.com>
Wed, 22 Mar 2023 16:22:00 +0000 (09:22 -0700)
commit3f23c7f5bedc8786d3f4567d2331a7efcbb2a77e
tree7eb236fb1d551f56441783abed297873b2a676be
parent0528087663f1558a2f662d4317b0b63d8f4a6fca
[InstSimplify] Actually use NewOps for calls in simplifyInstructionWithOperands

Resolves a TODO.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D146599
llvm/include/llvm/Analysis/InstructionSimplify.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/unittests/Transforms/Utils/LocalTest.cpp