diff options
author | Philip Reames <listmail@philipreames.com> | 2022-02-08 06:56:05 -0800 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2022-02-08 08:18:09 -0800 |
commit | c302f1e6771b0cbfad466e56f19e36d4dcaecd11 (patch) | |
tree | cc59bea6247b7d5b2bc6cc3b89ae2b94939845bd /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 074561a4a22f610d756109170285d8626c4cc3bc (diff) | |
download | llvm-c302f1e6771b0cbfad466e56f19e36d4dcaecd11.zip llvm-c302f1e6771b0cbfad466e56f19e36d4dcaecd11.tar.gz llvm-c302f1e6771b0cbfad466e56f19e36d4dcaecd11.tar.bz2 |
[SCEV] Generalize SCEVEqualsPredicate to any compare [NFC]
PredicatedScalarEvolution has a predicate type for representing A == B. This change generalizes it into something which can represent a A <pred> B.
This generality is currently unused, but is motivated by a couple of recent cases which have come up. In particular, I'm currently playing around with using this to simplify the runtime checking code in LoopVectorizer. Regardless of the outcome of that prototyping, generalizing the compare node seemed useful.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions