aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorAndrew Litteken <andrew.litteken@gmail.com>2020-08-23 00:30:10 -0500
committerAndrew Litteken <andrew.litteken@gmail.com>2020-12-23 15:02:00 -0600
commit050392660249c70c00e909ae4a7151ba2c766235 (patch)
tree90f0eabc9725349375c71c32c0556f06159bb958 /clang/lib/Basic/Module.cpp
parentcce473e0c56408237ea9ac5e24df918afab91ec9 (diff)
downloadllvm-050392660249c70c00e909ae4a7151ba2c766235.zip
llvm-050392660249c70c00e909ae4a7151ba2c766235.tar.gz
llvm-050392660249c70c00e909ae4a7151ba2c766235.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 Differential Revision: https://reviews.llvm.org/D87310
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions