[PATCH] D156117: [GVN] Freeze SrcVal if materializes load to a smaller type load

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 06:07:35 PDT 2023


StephenFan created this revision.
StephenFan added a reviewer: nikic.
Herald added a subscriber: hiraditya.
Herald added a project: All.
StephenFan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Fixes: https://github.com/llvm/llvm-project/issues/63968


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156117

Files:
  llvm/include/llvm/Transforms/Utils/VNCoercion.h
  llvm/lib/Transforms/Scalar/GVN.cpp
  llvm/lib/Transforms/Utils/VNCoercion.cpp
  llvm/test/Transforms/GVN/PRE/atomic.ll
  llvm/test/Transforms/GVN/PRE/rle.ll
  llvm/test/Transforms/GVN/metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156117.543497.patch
Type: text/x-patch
Size: 10144 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230724/3ee988e9/attachment.bin>


More information about the llvm-commits mailing list