llvm-project/llvm/test
Mehdi Amini e470927187 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
..
Analysis Create a getelementptr instead of sub expr for ValueOffsetPair if the 2016-09-14 04:39:50 +00:00
Assembler DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
Bindings
Bitcode DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
BugPoint
CodeGen [Stackmap] Added callsite counts to emitted function information. 2016-09-14 20:22:03 +00:00
DebugInfo [ARM] Add ".code 32" to functions in the ARM instruction set 2016-09-13 12:18:15 +00:00
Demangle Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
Examples
ExecutionEngine [ORC] Clone module flags metadata into the globals module in the 2016-09-04 17:53:30 +00:00
Feature Revert "Revert "Invariant start/end intrinsics overloaded for address space"" 2016-08-13 23:31:24 +00:00
FileCheck
Instrumentation [compiler-rt] Avoid instrumenting sanitizer functions 2016-09-14 17:18:37 +00:00
Integer
JitListener
LTO Fix auto-upgrade of TBAA tags in Bitcode Reader 2016-09-14 22:29:59 +00:00
LibDriver
Linker DebugInfo: New metadata representation for global variables. 2016-09-13 01:12:59 +00:00
MC Revert r281336 (and r281337), it caused PR30372. 2016-09-13 18:17:00 +00:00
Object [Stackmap] Added callsite counts to emitted function information. 2016-09-14 20:22:03 +00:00
ObjectYAML [macho2yaml] Don't write empty linkedit data 2016-08-17 21:46:04 +00:00
Other [PM] Introduce basic update capabilities to the new PM's CGSCC pass 2016-08-24 09:37:14 +00:00
SymbolRewriter
TableGen [TableGen] AsmMatcher: Add AsmVariantName to Instruction class. 2016-09-08 15:50:52 +00:00
ThinLTO/X86 [ThinLTO] Add an option to llvm-lto to print some basic statistics for the index 2016-09-14 21:04:59 +00:00
Transforms [LV] Process pointer IVs with PHINodes in collectLoopUniforms 2016-09-14 14:47:40 +00:00
Unit
Verifier [coroutines] Part 4[ab]: Coroutine Devirtualization: Lower coro.resume and coro.destroy. 2016-08-04 20:30:07 +00:00
YAMLParser
tools [LTO] Move tests from test/tools to test/LTO, as they're testing the API functionalities (NFC) 2016-09-14 21:07:32 +00:00
.clang-format
CMakeLists.txt Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
TestRunner.sh
lit.cfg Add an c++ itanium demangler to llvm. 2016-09-06 19:16:48 +00:00
lit.site.cfg.in