[flang-commits] [PATCH] D98553: [flang] Runtime: implement INDEX intrinsic function
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Fri Mar 12 13:49:04 PST 2021
klausler created this revision.
klausler added reviewers: jeanPerier, ashermancinelli.
klausler added a project: Flang.
Herald added subscribers: jdoerfert, arphaman.
klausler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Implement INDEX in the runtime, reusing some infrastructure
(with generalization and renaming as needed) put into place
for its cousins SCAN and VERIFY.
I did not implement full Boyer-Moore substring searching
for the forward case, but did accelerate some advancement on
mismatches.
I (re)implemented unit testing for INDEX in the new gtest
framework, combining it with the tests that have recently
been ported to gtest for SCAN and VERIFY.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D98553
Files:
flang/runtime/character.cpp
flang/runtime/character.h
flang/test/Evaluate/folding05.f90
flang/unittests/RuntimeGTest/CharacterTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98553.330363.patch
Type: text/x-patch
Size: 23501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210312/dd6eff03/attachment-0001.bin>
More information about the flang-commits
mailing list