[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 05:57:49 PST 2023


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

The diff is updated to check other metadata kinds applicable to `load`s, except `!nontemporal` which seems to affect choice of machine instruction.

The test is further trimmed down to only testing metadata that is concerned.


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.500557.patch
Type: text/x-patch
Size: 4654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230226/9686c116/attachment.bin>


More information about the llvm-commits mailing list