[PATCH] D90705: [GVN] permit forwarding to non-byte-sized loads

Jameson Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 8 12:17:36 PST 2021


vtjnash updated this revision to Diff 392869.
vtjnash added a comment.

The work had already pretty much been done before (for GVN), we just needed to
allow it to use that work here for NewGVN, and use bits directly rather than
bytes/8*8 for the output computation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90705

Files:
  llvm/lib/Transforms/Utils/VNCoercion.cpp
  llvm/test/Transforms/GVN/pr10820.ll
  llvm/test/Transforms/NewGVN/pr10820-xfail.ll
  llvm/test/Transforms/NewGVN/pr10820.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90705.392869.patch
Type: text/x-patch
Size: 8750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211208/4677c0e8/attachment.bin>


More information about the llvm-commits mailing list