[all-commits] [llvm/llvm-project] d974ac: [IRSim] Letting gep instructions be legal for simi...
Andrew Litteken via All-commits
all-commits at lists.llvm.org
Thu Dec 31 12:42:18 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d974ac0224dec34b95fb1be8c61bd8b524698bcd
https://github.com/llvm/llvm-project/commit/d974ac0224dec34b95fb1be8c61bd8b524698bcd
Author: Andrew Litteken <andrew_litteken at apple.com>
Date: 2020-12-31 (Thu, 31 Dec 2020)
Changed paths:
M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
M llvm/lib/Analysis/IRSimilarityIdentifier.cpp
M llvm/test/Transforms/IROutliner/illegal-gep.ll
M llvm/unittests/Analysis/IRSimilarityIdentifierTest.cpp
Log Message:
-----------
[IRSim] Letting gep instructions be legal for similarity identification.
GetElementPtr instructions require the extra check that all operands
after the first must only be constants and be exactly the same to be
considered similar.
Tests are found in unittests/Analysis/IRSimilarityIdentifierTest.cpp.
More information about the All-commits
mailing list