[PATCH] D38536: Improve lookThroughCast function.
Artur Gainullin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 16 16:08:42 PDT 2017
ArturGainullin added a comment.
For using constant from cmp instruction (instead of recreation) we will need to check that truncated constant is equal to lower bits of cmp constant.
That is why I decided just to recreate constant which looks like more general solution.
https://reviews.llvm.org/D38536
More information about the llvm-commits
mailing list