aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Transforms/Utils/CloningTest.cpp
diff options
context:
space:
mode:
authorGraham Hunter <graham.hunter@arm.com>2022-06-16 09:59:29 +0100
committerGraham Hunter <graham.hunter@arm.com>2022-07-18 12:06:17 +0100
commitdb8fcb2c2537fa1aa71d7d8fb94545408a8085d2 (patch)
tree66bfd51d3b2091c2b62255a3da4a62e1d59c44a5 /llvm/unittests/Transforms/Utils/CloningTest.cpp
parentca2e3ffbc1effe34a2dddaabc0a1412b09f8ca60 (diff)
downloadllvm-db8fcb2c2537fa1aa71d7d8fb94545408a8085d2.zip
llvm-db8fcb2c2537fa1aa71d7d8fb94545408a8085d2.tar.gz
llvm-db8fcb2c2537fa1aa71d7d8fb94545408a8085d2.tar.bz2
[LAA] Add recursive IR walker for forked pointers
This builds on the previous forked pointers patch, which only accepted a single select as the pointer to check. A recursive function to walk through IR has been added, which searches for either a loop-invariant or addrec SCEV. This will only handle a single fork at present, so selects of selects or a GEP with a select for both the base and offset will be rejected. There is also a recursion limit with a cli option to change it. Reviewed By: fhahn, david-arm Differential Revision: https://reviews.llvm.org/D108699
Diffstat (limited to 'llvm/unittests/Transforms/Utils/CloningTest.cpp')
0 files changed, 0 insertions, 0 deletions