summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2019-07-24 20:57:29 +0000
committerCraig Topper <craig.topper@intel.com>2019-07-24 20:57:29 +0000
commite9abc8177a368ea481dfa3874ce10a84e032fb01 (patch)
treefbfa776bae3cc74e1892286bf33bfd1a49a35fc1 /lldb/packages/Python/lldbsuite
parenta8104b49272dc97ab22c373f81cb070db2c6a464 (diff)
downloadbcm5719-llvm-e9abc8177a368ea481dfa3874ce10a84e032fb01.tar.gz
bcm5719-llvm-e9abc8177a368ea481dfa3874ce10a84e032fb01.zip
[InstCombine] Teach foldOrOfICmps to allow icmp eq MIN_INT/MAX to be part of a range comparision. Similar for foldAndOfICmps
We can treat icmp eq X, MIN_UINT as icmp ule X, MIN_UINT and allow it to merge with icmp ugt X, C. Similar for the other constants. We can do simliar for icmp ne X, (U)INT_MIN/MAX in foldAndOfICmps. And we already handled UINT_MIN there. Fixes PR42691. Differential Revision: https://reviews.llvm.org/D65017 llvm-svn: 366945
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud