diff options
author | Florian Hahn <flo@fhahn.com> | 2025-07-31 12:47:13 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2025-07-31 12:47:14 +0100 |
commit | ab9b23c446531f5d9f081123c9f2fde4e8a334eb (patch) | |
tree | 12bf26b8e6b5e4cb28598df6032ca68eb0e07e4a /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 2c00df3c938a99a85f5b0abebbb541d2e003af2c (diff) | |
download | llvm-ab9b23c446531f5d9f081123c9f2fde4e8a334eb.zip llvm-ab9b23c446531f5d9f081123c9f2fde4e8a334eb.tar.gz llvm-ab9b23c446531f5d9f081123c9f2fde4e8a334eb.tar.bz2 |
[SCEV] Use pattern match to check ZExt(Add()). (NFC)
Follow-up to
https://github.com/llvm/llvm-project/pull/151227#pullrequestreview-3074670031
to check the inner expression is an Add before calling getTruncateExpr.
Adds a new matcher that just matches and captures SCEVAddExpr, to
support matching a SCEVAddExpr with arbitrary number of operands.
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions