[PATCH] D123835: AMDGPU/SDAG: Refine the fold to v_mad_[iu]64_[iu]32
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 02:13:04 PDT 2022
foad accepted this revision.
foad added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:10704
+ unsigned NumUsers = 0;
+ for (auto I = LHS->use_begin(), E = LHS->use_end(); I != E; ++I) {
+ // There is a use that does not feed into addition, so the multiply can't
----------------
Nit: use range-based loop over uses()?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123835/new/
https://reviews.llvm.org/D123835
More information about the llvm-commits
mailing list