[PATCH] D87317: [IRSim][IROutliner] Allowing GEP instructions to be outlined.
Andrew Litteken via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 11:46:09 PDT 2020
AndrewLitteken created this revision.
AndrewLitteken added a reviewer: paquette.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
AndrewLitteken requested review of this revision.
We outline what the IRSimilarityIdentifier deems GEP Instructions to be similar. In this case, the types must be the same, and the operand values after the first indexing operand must be the exact same.
Tests:
- Removing test/Transforms/IROutliner/illegal-gep.ll
- Adding test/Transforms/IROutliner/outlining-gep.ll
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87317
Files:
llvm/include/llvm/Transforms/IPO/IROutliner.h
llvm/test/Transforms/IROutliner/illegal-gep.ll
llvm/test/Transforms/IROutliner/outlining-gep.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87317.290556.patch
Type: text/x-patch
Size: 5661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/b44c194d/attachment.bin>
More information about the llvm-commits
mailing list