commit | aa795776c91d8686c16fdd8442b5eca980174ba4 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Fri Nov 10 23:36:56 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Fri Nov 10 23:36:56 2017 +0000 |
tree | 514861466c454b3291ba09ce52f4f3eaee3c66a9 | |
parent | d3e2d8422adcb0edda9e941bc09cb27f2c4a387c [diff] |
[SelectionDAG] Make getUniformBase in SelectionDAGBuilder fail if any of the middle GEP indices are non-constant. This is a fix for a bug in r317947. We were supposed to check that all the indices are are constant 0, but instead we're only make sure that indices that are constant are 0. Non-constant indices are being ignored. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317950 91177308-0d34-0410-b5e6-96231b3b80d8