[PATCH] D67068: A instruction bitcast a constant, and get used across the basic block will generate additional COPY SDNode.The example as follow:
zuojian lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 2 05:34:26 PDT 2019
linzj added a comment.
In D67068#1654483 <https://reviews.llvm.org/D67068#1654483>, @lebedev.ri wrote:
> tests missing.
> From the first look this fix seems rather ad-hoc.
Essentially it's a constant leaking problem. The bitcast instructions are generated by the "constant hoist" algorithm from LLVM. I does not write this snippet.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67068/new/
https://reviews.llvm.org/D67068
More information about the llvm-commits
mailing list