[all-commits] [llvm/llvm-project] b27db2: [IRSim] Adding structural comparison to IRSimilari...
Andrew Litteken via All-commits
all-commits at lists.llvm.org
Wed Sep 23 20:31:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b27db2bb68163fa5bcb4a8f631a305eb5adb44e5
https://github.com/llvm/llvm-project/commit/b27db2bb68163fa5bcb4a8f631a305eb5adb44e5
Author: Andrew Litteken <andrew.litteken at gmail.com>
Date: 2020-09-23 (Wed, 23 Sep 2020)
Changed paths:
M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
M llvm/lib/Analysis/IRSimilarityIdentifier.cpp
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
Log Message:
-----------
[IRSim] Adding structural comparison to IRSimilarityCandidate.
Just because sequences of instructions are similar to one another,
doesn't mean they are doing the same thing.
This introduces a structural check for the IRSimilarityCandidate that
compares two IRSimilarityCandidates against one another, and in each
instruction creates a mapping between the operands and results, or
checks that the existing mapping is valid. If this check passes, it
means we have structurally similar IRSimilarityCandidates.
Tests for whether the candidates are found in
unittests/Analysis/IRSimilarityIdentifierTest.cpp.
More information about the All-commits
mailing list