HomePhabricator

[ExpandMemCmp] Properly constant-fold all compares.

Authored by courbet on Mar 3 2020, 4:17 AM.

Description

[ExpandMemCmp] Properly constant-fold all compares.

Summary:
This gets rid of duplicated code and diverging behaviour w.r.t.
constants.
Fixes PR45086.

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75519

Details

Committed
courbetMar 9 2020, 2:40 AM
Differential Revision
D75519: [ExpandMemCmp] Properly constant-fold all compares.
Parents
rG2ce821cbc90a: Fix build failure from rG223a43ee8d89
Branches
Unknown
Tags
Unknown