diff options
author | Florian Hahn <flo@fhahn.com> | 2020-02-07 10:08:40 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-02-07 10:27:29 +0000 |
commit | 8d5e76ac303a20e62aaeed78d4761c5cb66abfe3 (patch) | |
tree | a72dc0e74789844c872ebdf844070468b316c702 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 68cc9f80a6bfd7b88a761d29c757d0ec6544e126 (diff) | |
download | llvm-8d5e76ac303a20e62aaeed78d4761c5cb66abfe3.zip llvm-8d5e76ac303a20e62aaeed78d4761c5cb66abfe3.tar.gz llvm-8d5e76ac303a20e62aaeed78d4761c5cb66abfe3.tar.bz2 |
[ValueTracking] Update implied reasoning to accept expanded cmp (NFC).
This patch adds versions of isImpliedCondition and
isImpliedByDomCondition that take a predicate, LHS and RHS operands as
instead of a Value representing the condition.
This allows using those functions to check conditions without having a
concrete ICmp instruction.
Reviewers: nikic, RKSimon, lebedev.ri, spatel
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D74065
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions