[all-commits] [llvm/llvm-project] 48ad81: [IRSim] Adding support for isomorphic predicates
Andrew Litteken via All-commits
all-commits at lists.llvm.org
Wed Dec 23 17:54:06 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 48ad8194a56f350e84383fff7cb705820ea850bc
https://github.com/llvm/llvm-project/commit/48ad8194a56f350e84383fff7cb705820ea850bc
Author: Andrew Litteken <andrew.litteken at gmail.com>
Date: 2020-12-23 (Wed, 23 Dec 2020)
Changed paths:
M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
M llvm/lib/Analysis/IRSimilarityIdentifier.cpp
A llvm/test/Transforms/IROutliner/outlining-isomorphic-predicates.ll
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
Log Message:
-----------
[IRSim] Adding support for isomorphic predicates
Some predicates, can be considered the same as long as the operands are
flipped. For example, a > b gives the same result as b > a. This maps
instructions in a greater than form, to their appropriate less than
form, swapping the operands in the IRInstructionData only, allowing for
more flexible matching.
Tests:
llvm/test/Transforms/IROutliner/outlining-isomorphic-predicates.ll
llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
Reviewers: jroelofs, paquette
Recommit of commit 050392660249c70c00e909ae4a7151ba2c766235
Differential Revision: https://reviews.llvm.org/D87310
More information about the All-commits
mailing list