[PATCH] D146823: [GVN] Avoid replacing uniforms with non-uniforms in propagateEquality
Justin Bogner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 29 17:04:36 PDT 2023
bogner updated this revision to Diff 509504.
bogner added a comment.
Use UniformityAnalysis instead of TTI.
TODO:
- Still need to measure compile time impact, especially on non-gpu/non-divergent targets. This might lead to making some changes to make uniformity analysis as cheap as possible on those targets.
- I'll also add a couple more tests for slightly more complicated cases.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146823/new/
https://reviews.llvm.org/D146823
Files:
llvm/include/llvm/Transforms/Scalar/GVN.h
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/test/Transforms/GVN/uniform-values.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146823.509504.patch
Type: text/x-patch
Size: 7718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230330/6d22853f/attachment.bin>
More information about the llvm-commits
mailing list