[all-commits] [llvm/llvm-project] 828ec9: [OpenCL, test] Fix use of undef FileCheck var
RoboTux via All-commits
all-commits at lists.llvm.org
Mon Apr 5 13:11:48 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 828ec9e9e5da8a2e7d1bfa523b9a712658ee6ffc
https://github.com/llvm/llvm-project/commit/828ec9e9e5da8a2e7d1bfa523b9a712658ee6ffc
Author: Thomas Preud'homme <thomasp at graphcore.ai>
Date: 2021-04-05 (Mon, 05 Apr 2021)
Changed paths:
M clang/test/CodeGenOpenCL/fpmath.cl
Log Message:
-----------
[OpenCL, test] Fix use of undef FileCheck var
Clang test CodeGenOpenCL/fpmath.cl uses a variable defined in an earlier
CHECK-NOT directive. However, by definition the pattern in that
directive is not supposed to occur so no variable will be defined. This
commit solves the issue by using a regex match with the same regex as in
the definition. It also changes the definition into a regex match since
no variable is going to be defined.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D99857
More information about the All-commits
mailing list