[PATCH] D131487: [TypePromotion] Don't insert Truncate for a no-op ZExt
Sergei Barannikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 10 15:05:15 PDT 2022
barannikov88 accepted this revision.
barannikov88 added a comment.
In D131487#3713019 <https://reviews.llvm.org/D131487#3713019>, @avieira wrote:
> Is that somewhat clearer? I suspect the reason we never see a failure is because we 'replace' the input, rather than create a new ZExt. But like I said in the comment, it get's deleted. And as it is the trunc would just stay there dangling and get in the way of things.
With that comment is is pretty much clear now, thanks.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131487/new/
https://reviews.llvm.org/D131487
More information about the llvm-commits
mailing list