[PATCH] D106189: [InstSimplify] Expose generic interface for replaced operand simplification
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 16 14:08:34 PDT 2021
jdoerfert created this revision.
jdoerfert added reviewers: spatel, lebedev.ri, nikic, aqjune.
Herald added subscribers: uenoku, bollu, hiraditya.
Herald added a reviewer: uenoku.
jdoerfert requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.
Users, especially the Attributor, might replace multiple operands at
once. The actual implementation of simplifyWithOpReplaced is able to
handle that just fine, the interface was simply not allowing to replace
more than one operand at a time. This is exposing a more generic
interface without intended changes for existing code.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106189
Files:
llvm/include/llvm/Analysis/InstructionSimplify.h
llvm/lib/Analysis/InstructionSimplify.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106189.359444.patch
Type: text/x-patch
Size: 4757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210716/d53add03/attachment.bin>
More information about the llvm-commits
mailing list