[PATCH] D116276: [IndVarS] Keep the nsw/nuw flags after simplifyAndExtend

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 25 08:29:28 PST 2021


nikic added a comment.

Can you explain why SCEVExpander does not preserve the nowrap flag in this case? Assuming it is present on the wide IV, I would have expect it to also get expanded as such.

Also, it looks like you did not regenerate all affected tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116276/new/

https://reviews.llvm.org/D116276



More information about the llvm-commits mailing list