llvm-mirror/test/LTO/X86
Mehdi Amini 62ba5df396 Fix auto-upgrade of TBAA tags in Bitcode Reader
If TBAA is on an intrinsic and it gets upgraded, it'll delete the call
instruction that we collected in a vector. Even if we were to use
WeakVH, it'll drop the TBAA and we'll hit the assert on the upgrade
path.

r263673 gave a shot to make sure the TBAA upgrade happens before
intrinsics upgrade, but failed to account for all cases.

Instead of collecting instructions in a vector, this patch makes it
just upgrade the TBAA on the fly, because metadata are always
already loaded at this point.

Differential Revision: https://reviews.llvm.org/D24533

llvm-svn: 281549
2016-09-14 22:29:59 +00:00
..
Inputs
attrs.ll
bcsection.ll
cfi_endproc.ll
current-section.ll
diagnostic-handler-noexit.ll
diagnostic-handler-remarks.ll
disable-verify.ll
invalid.ll
keep-used-puts-during-instcombine.ll
linkonce_odr_func.ll
list-symbols.ll
lit.local.cfg
llvm-lto-output.ll
no-undefined-puts-when-implemented.ll
objc-detection-i386.ll
objc-detection.ll
parallel.ll
pr25919.ll
private-symbol.ll
remangle_intrinsics_tbaa.ll
remangle_intrinsics.ll
restore-externals.ll
runtime-library.ll
set-merged.ll
strip-debug-info.ll
symver-asm.ll
triple-init.ll
unnamed.ll