[PATCH] D130517: [GlobalISel] Add sdiv exact (X, constant) -> mul combine.
Thorsten via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 14:38:12 PDT 2022
tschuett added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:5016
+ // Collect all magic values from the build vector.
+ bool Matched = matchUnaryPredicate(MRI, RHS, BuildSDIVPattern);
+ (void)Matched;
----------------
Is this cuter as an if-statement to get rid of the `(void)`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130517/new/
https://reviews.llvm.org/D130517
More information about the llvm-commits
mailing list