diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2021-03-29 08:19:01 -0400 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2021-03-29 09:38:18 -0400 |
| commit | da381cf7ce05bff833e0fe5401cbfe1bb5dede23 (patch) | |
| tree | b7aee96c7e59a8fe1863d361977249a471a305cf /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | dcf96178cb3490028d9e2937cd8908b7c8fc75e6 (diff) | |
[SLP] allow matching integer min/max intrinsics as reduction ops
This is a 2nd try of:
3c8473ba534
which was reverted at:
a26312f9d4f
because of crashing.
This version includes extra code and tests to avoid the known
crashing examples as discussed in PR49730.
Original commit message:
As noted in D98152, we need to patch SLP to avoid regressions when
we start canonicalizing to integer min/max intrinsics.
Most of the real work to make this possible was in:
7202f47508
Differential Revision: https://reviews.llvm.org/D98981
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
