HomePhabricator

[x86] Relax the check in areLoadsFromSameBasePtr

Authored by eraman on Apr 11 2017, 2:05 PM.

Description

[x86] Relax the check in areLoadsFromSameBasePtr

Check if the scale operand is identical (doesn't have to be 1) and
do not check the chaain operand.

Differential revision: https://reviews.llvm.org/D31833

llvm-svn: 299986