[PATCH] D116766: [SCEV] Sequential/in-order `UMin` expression
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 10 08:37:16 PST 2022
lebedev.ri added inline comments.
================
Comment at: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:560-561
+ assert(isSequentialMinMaxType(T));
+ // Min and max never overflow
+ setNoWrapFlags((NoWrapFlags)(FlagNUW | FlagNSW));
+ }
----------------
This is the only user of `setNoWrapFlags()`, i simply mimic what `SCEVMinMaxExpr` does.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116766/new/
https://reviews.llvm.org/D116766
More information about the llvm-commits
mailing list