[PATCH] D144682: Fix miscompilation from MergeFunctions-Inline-SROA-InstCombine optimization sequence

X via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 26 06:01:55 PST 2023


dingxiangfei2009 updated this revision to Diff 500558.
dingxiangfei2009 added a comment.

Update test: `dereferenceable` in the function argument is shrinked to just cover the pointer value.


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

https://reviews.llvm.org/D144682

Files:
  llvm/include/llvm/Transforms/Utils/FunctionComparator.h
  llvm/lib/Transforms/Utils/FunctionComparator.cpp
  llvm/test/Transforms/MergeFunc/mergefunc-preserve-nonnull.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144682.500558.patch
Type: text/x-patch
Size: 4651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230226/cda392a6/attachment.bin>


More information about the llvm-commits mailing list