aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-10-08 16:29:39 +0000
committerAdrian Prantl <aprantl@apple.com>2019-10-08 16:29:39 +0000
commitea6377505435f0a6c9deb154a38dc6960d28726e (patch)
treeeebce67753362a50cac11602b2dace1634e81a6e /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent917b8df0e531d4b2ecb9c9bc7370a75905587bbc (diff)
downloadllvm-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