diff options
author | Andrew Litteken <andrew.litteken@gmail.com> | 2020-08-23 00:30:10 -0500 |
---|---|---|
committer | Andrew Litteken <andrew.litteken@gmail.com> | 2020-12-23 19:42:35 -0600 |
commit | 48ad8194a56f350e84383fff7cb705820ea850bc (patch) | |
tree | 030b31251aa847fb0c25c586b3a2fc27f96b16d3 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp | |
parent | 69132d12deae749a8e4c9def5498ffa354ce1fa6 (diff) | |
download | llvm-48ad8194a56f350e84383fff7cb705820ea850bc.zip llvm-48ad8194a56f350e84383fff7cb705820ea850bc.tar.gz llvm-48ad8194a56f350e84383fff7cb705820ea850bc.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions