commit | 406f960c8c4176d778ca3bc4d673e6d74813dac0 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Mon Nov 26 20:16:33 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Mon Nov 26 20:16:33 2018 +0000 |
tree | 795c1f23c3a8dd15a624d4653910ac299f88723b | |
parent | 57aee1be6f01b3972c2965f4272ec93e252a1861 [diff] |
[SelectionDAG] Teach BaseIndexOffset::match to unwrap the base after looking through an add/or We might find a target specific node that needs to be unwrapped after we look through an add/or. Otherwise we get inconsistent results if one pointer is just X86WrapperRIP and the other is (add X86WrapperRIP, C) Differential Revision: https://reviews.llvm.org/D54818 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347591 91177308-0d34-0410-b5e6-96231b3b80d8