[PATCH] D87315: [IRSim] Letting gep instructions be legal for similarity identification.
Andrew Litteken via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 11:45:11 PDT 2020
AndrewLitteken created this revision.
AndrewLitteken added a reviewer: paquette.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
AndrewLitteken requested review of this revision.
GetElementPtr instructions require the extra check that all operands after the first must only be constants and be exactly the same to be considered similar.
Tests are found in unittests/Analysis/IRSimilarityIdentifierTest.cpp.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D87315
Files:
llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
llvm/lib/Analysis/IRSimilarityIdentifier.cpp
llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87315.290554.patch
Type: text/x-patch
Size: 7051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/a60060bb/attachment-0001.bin>
More information about the llvm-commits
mailing list