[llvm-dev] Optimizing diamond pattern in DAGCombine
Amaury SECHET via llvm-dev
llvm-dev at lists.llvm.org
Sun May 21 23:21:54 PDT 2017
I'm trying to optimize a pattern that goes roughly as:
A
/ \
B C
\ /
D
Problem is, when A gets modified, B and C get added back to the worklist,
but D doesn't. Readding D to the worklist just create an infinite loop
where one process D again and again.
Is there a proper way to make this work ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170521/5d9192fd/attachment.html>
More information about the llvm-dev
mailing list