[all-commits] [llvm/llvm-project] 8fd227: [FileCheck] Add function call support to numerical...
paulwalker-arm via All-commits
all-commits at lists.llvm.org
Wed Jun 10 02:43:28 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8fd2270370244f0e93b4fd9ac4e13473f3cd7dd7
https://github.com/llvm/llvm-project/commit/8fd2270370244f0e93b4fd9ac4e13473f3cd7dd7
Author: Paul Walker <paul.walker at arm.com>
Date: 2020-06-10 (Wed, 10 Jun 2020)
Changed paths:
M llvm/docs/CommandGuide/FileCheck.rst
M llvm/lib/Support/FileCheck.cpp
M llvm/lib/Support/FileCheckImpl.h
M llvm/test/FileCheck/numeric-expression.txt
M llvm/unittests/Support/FileCheckTest.cpp
Log Message:
-----------
[FileCheck] Add function call support to numerical expressions.
This patch extends numerical expressions to allow calls to
predefined functions. These calls can be combined with the
existing numerical operators, which includes nesting calls.
The call syntax is:
<func>(<args>)
Where <func> is a predefined string literal, currently limited to
one of add, max, min and sub. <arg> is a comma seperated list of
numerical expressions.
Subscribers: arichardson, hiraditya, thopre, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79936
More information about the All-commits
mailing list