diff options
author | Andrew Litteken <andrew.litteken@gmail.com> | 2020-09-15 22:25:05 -0500 |
---|---|---|
committer | Andrew Litteken <andrew.litteken@gmail.com> | 2020-12-31 20:52:45 -0600 |
commit | 0d21e66014fc5cac1302a148e65d5ad6a41af37b (patch) | |
tree | 181dd639ca0b0760d5ace03e5a81835bd8c9b3ba /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 831636b0e6321500fd7bf3f32e8663369152a956 (diff) | |
download | llvm-0d21e66014fc5cac1302a148e65d5ad6a41af37b.zip llvm-0d21e66014fc5cac1302a148e65d5ad6a41af37b.tar.gz llvm-0d21e66014fc5cac1302a148e65d5ad6a41af37b.tar.bz2 |
[IRSim] Letting call instructions be legal for similarity identification.
Here we let non-intrinsic calls be considered legal and valid for
similarity only if the call is not indirect, and has a name.
For two calls to be considered similar, they must have the same name,
the same function types, and the same set of parameters, including tail
calls and calling conventions.
Tests are found in unittests/Analysis/IRSimilarityIdentifierTest.cpp.
Reviewers: jroelofs, paquette
Differential Revision: https://reviews.llvm.org/D87312
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions