[PATCH] D116968: [IRBuilder] Migrate add-folding to value-based FoldAdd.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 12 01:25:18 PST 2022
fhahn marked an inline comment as done.
fhahn added inline comments.
================
Comment at: llvm/include/llvm/Analysis/InstSimplifyFolder.h:52
+ bool HasNSW = false) const override {
+ return SimplifyAddInst(LHS, RHS, HasNUW, HasNSW, SimplifyQuery(DL));
+ }
----------------
nikic wrote:
> Might make sense to store the SimplifyQuery in the class?
Done in the committed version, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116968/new/
https://reviews.llvm.org/D116968
More information about the llvm-commits
mailing list