aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ExpandVectorPredication.cpp
diff options
context:
space:
mode:
authorJeff Bailey <jeffbailey@google.com>2022-07-17 02:41:55 +0000
committerJeff Bailey <jeffbailey@google.com>2022-07-18 14:40:09 +0000
commit8aad330eebc0b9cfd8dd00e8ed692cb89e7577df (patch)
treeca3ca8dfa1b47dc75ee43d5c9826df7293abddb5 /llvm/lib/CodeGen/ExpandVectorPredication.cpp
parent313f8a20fdf968501a79c7f9aaaf77ae0faaf907 (diff)
downloadllvm-8aad330eebc0b9cfd8dd00e8ed692cb89e7577df.zip
llvm-8aad330eebc0b9cfd8dd00e8ed692cb89e7577df.tar.gz
llvm-8aad330eebc0b9cfd8dd00e8ed692cb89e7577df.tar.bz2
[libc] Fix API for remove_{prefix, suffix}
The API in StringView.h for remove_prefix was incorrect and was returning a new StringView rather than just altering the view. As part of this, also removed some of the safety features. The comment correctly noted that the behaviour is undefined in some cases, but the code and test cases checked for that. One caller was relying on the old behaviour, so fixed it and added some comments. Tested: check-libc llvmlibc libc-loader-tests Reviewed By: gchatelet Differential Revision: https://reviews.llvm.org/D129950
Diffstat (limited to 'llvm/lib/CodeGen/ExpandVectorPredication.cpp')
0 files changed, 0 insertions, 0 deletions