[PATCH] D79882: [FileCheck] Add saturation support to numerical expressions.

Paul Walker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 13 09:44:35 PDT 2020


paulwalker-arm created this revision.
Herald added subscribers: llvm-commits, thopre, hiraditya, arichardson.
Herald added a project: LLVM.

Add support for named operations to numerical expressions, which
take the form ".<name>.". This support has been used to add the
following named operations:

  usat_high : Clamp LHS to be no bigger than RHS.
  usat_low  : Clamp LHS to be no smaller than LHS.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79882

Files:
  llvm/lib/Support/FileCheck.cpp
  llvm/test/FileCheck/numeric-expression.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79882.263757.patch
Type: text/x-patch
Size: 5148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200513/d2a71a3c/attachment.bin>


More information about the llvm-commits mailing list