diff options
author | Frederic Riss <friss@apple.com> | 2014-10-23 04:08:42 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2014-10-23 04:08:42 +0000 |
commit | c1892e2d48e4dcc34c55e64b494ddbe723644c68 (patch) | |
tree | c89d4334877af7d56c7be64bedbc6f02b2054b4f /clang/lib/Serialization/Module.cpp | |
parent | 05ad2e543f237aea9076f26d9ebddc91200e43f4 (diff) | |
download | llvm-c1892e2d48e4dcc34c55e64b494ddbe723644c68.zip llvm-c1892e2d48e4dcc34c55e64b494ddbe723644c68.tar.gz llvm-c1892e2d48e4dcc34c55e64b494ddbe723644c68.tar.bz2 |
Assert that ValueHandleBase::ValueIsRAUWd doesn't change the tracked Value type.
This invariant is enforced in Value::replaceAllUsesWith, thus it seems
logical to apply it also to ValueHandles. This commit fixes InstCombine
to not trigger the assertion during the removal of constant bitcasts in
call instructions.
Differential Revision: http://reviews.llvm.org/D5828
llvm-svn: 220468
Diffstat (limited to 'clang/lib/Serialization/Module.cpp')
0 files changed, 0 insertions, 0 deletions