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.
Differential D87315
[IRSim] Letting gep instructions be legal for similarity identification. AndrewLitteken on Sep 8 2020, 11:45 AM. Authored by
Details
Diff Detail Event TimelineComment Actions LGTM
|