diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-10-08 16:29:39 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-10-08 16:29:39 +0000 |
commit | ea6377505435f0a6c9deb154a38dc6960d28726e (patch) | |
tree | eebce67753362a50cac11602b2dace1634e81a6e /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 917b8df0e531d4b2ecb9c9bc7370a75905587bbc (diff) | |
download | llvm-ea6377505435f0a6c9deb154a38dc6960d28726e.zip llvm-ea6377505435f0a6c9deb154a38dc6960d28726e.tar.gz llvm-ea6377505435f0a6c9deb154a38dc6960d28726e.tar.bz2 |
Replace regex match with rfind (NFCish)
This change is mostly performance-neutral since our regex engine is
fast, but it's IMHO slightly more readable. Also, matching matching
parenthesis is not a great match for regular expressions.
Differential Revision: https://reviews.llvm.org/D68609
llvm-svn: 374082
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions