[PATCH] D48828: [InstSimplify] fold extracting from std::pair

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 16 07:01:20 PDT 2018


inouehrs updated this revision to Diff 155670.
inouehrs added a comment.

- add more test cases
- make the algorithm more general using `m_c_Or` instead of `m_Or`


https://reviews.llvm.org/D48828

Files:
  lib/Analysis/InstructionSimplify.cpp
  test/Transforms/InstSimplify/pair.ll
  test/Transforms/NewGVN/pair_jumpthread.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48828.155670.patch
Type: text/x-patch
Size: 8736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180716/b9e5a2d2/attachment.bin>


More information about the llvm-commits mailing list