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

guopeilin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 29 01:05:08 PST 2021


guopeilin updated this revision to Diff 396501.
guopeilin added a comment.

fix the affected tests


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

https://reviews.llvm.org/D116276

Files:
  llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
  llvm/test/Transforms/IndVarSimplify/AArch64/widen-loop-comp.ll
  llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll
  llvm/test/Transforms/IndVarSimplify/keep-nsw-nuw-flag.ll
  llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll
  llvm/test/Transforms/LoopFlatten/widen-iv.ll
  llvm/test/Transforms/LoopFlatten/widen-iv2.ll
  llvm/test/Transforms/LoopFlatten/widen-iv3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116276.396501.patch
Type: text/x-patch
Size: 14951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211229/b1e5143e/attachment-0001.bin>


More information about the llvm-commits mailing list