diff options
author | Alex Bradbury <asb@igalia.com> | 2023-02-14 16:52:26 +0000 |
---|---|---|
committer | Alex Bradbury <asb@igalia.com> | 2023-02-14 16:55:03 +0000 |
commit | 574d0c2ec107cd3bfb753424150624276fe43813 (patch) | |
tree | e288c871a7342ce8cbe5dfad4affd314d656e560 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | f4d8b8781de9b0efbaf79621ff66c16964bb1df2 (diff) | |
download | llvm-574d0c2ec107cd3bfb753424150624276fe43813.zip llvm-574d0c2ec107cd3bfb753424150624276fe43813.tar.gz llvm-574d0c2ec107cd3bfb753424150624276fe43813.tar.bz2 |
[clang][test][RISCV] Fix precision of CHECK-NOT lines in riscv-target-features.c
`CHECK-NOT: __riscv_f 2000000{{$}}` was overly precise, in that it
wouldn't test what we want it to if the version of the F extension was
bumped. Meanwhile, lines like `CHECK-NOT: __riscv_d` were too imprecise,
as they would match any define with that prefix (e.g.
`__riscv_dsomethingelse`).
This patch just updates these lines to check for `__riscv_foo {{.*$}}`.
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions