commit | 116261ccf9faa2c3f87a4a4ce24895388e0f8381 | [log] [tgz] |
---|---|---|
author | Michael Kuperstein <mkuper@google.com> | Fri May 20 20:26:50 2016 +0000 |
committer | Michael Kuperstein <mkuper@google.com> | Fri May 20 20:26:50 2016 +0000 |
tree | 60371d406eb905a7fb1c31f2fbd4dd35ef178a8c | |
parent | bf0e75a50e035fa441200d62f3a78a7edf8fe45f [diff] |
[BasicAA] Turn DecomposeGEPExpression runtime checks into asserts. When it has a DataLayout, DecomposeGEPExpression() should return the same object as GetUnderlyingObject(). Per the FIXME, it currently always has a DL, so the runtime check is redundant and can become an assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270268 91177308-0d34-0410-b5e6-96231b3b80d8