diff options
author | Michael Kuperstein <mkuper@google.com> | 2016-05-20 20:26:50 +0000 |
---|---|---|
committer | Michael Kuperstein <mkuper@google.com> | 2016-05-20 20:26:50 +0000 |
commit | f45e5b58b8407a02f87e50e6c77137a273ada8ba (patch) | |
tree | 3961137997eed7ad3f5e81041f0224ca0aa585ec /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | 6b58c4723a94c8e89cb91e8e83d9fb8047fee329 (diff) | |
download | llvm-f45e5b58b8407a02f87e50e6c77137a273ada8ba.zip llvm-f45e5b58b8407a02f87e50e6c77137a273ada8ba.tar.gz llvm-f45e5b58b8407a02f87e50e6c77137a273ada8ba.tar.bz2 |
[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.
llvm-svn: 270268
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions