diff options
| author | Konstantina Mitropoulou <Konstantina.Mitropoulou@amd.com> | 2023-06-15 19:02:33 -0700 |
|---|---|---|
| committer | Konstantina Mitropoulou <Konstantina.Mitropoulou@amd.com> | 2023-07-17 17:13:47 -0700 |
| commit | 4c42ab1199e9729c2f3a74f77ba765e4f9190d57 (patch) | |
| tree | 4d84ceffdaae8c983737acc0d0b338d6bc589ea4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 11cd92a70f264b82f306c0927691f86b2d7f37a9 (diff) | |
[DAGCombiner] Change foldAndOrOfSETCC() to optimize and/or patterns
CMP(A,C)||CMP(B,C) => CMP(MIN/MAX(A,B), C)
CMP(A,C)&&CMP(B,C) => CMP(MIN/MAX(A,B), C)
This first patch handles integer types.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D153502
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
