diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-28 00:22:27 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-28 00:22:27 +0000 |
commit | 209b17cdaae7d2246382a35a09e09f43cd9a3d4f (patch) | |
tree | b66966835071a350196f6bce3e57e6b0050517e3 /llvm/lib/Bitcode/Reader/BitcodeReader.h | |
parent | 41a993f6f86e94304d27e46d57d9aa8ae2834748 (diff) | |
download | llvm-209b17cdaae7d2246382a35a09e09f43cd9a3d4f.zip llvm-209b17cdaae7d2246382a35a09e09f43cd9a3d4f.tar.gz llvm-209b17cdaae7d2246382a35a09e09f43cd9a3d4f.tar.bz2 |
AutoUpgrade: upgrade from scalar TBAA format to struct-path aware TBAA format.
We treat TBAA tags as struct-path aware TBAA format when the first operand
is a MDNode and the tag has 3 or more operands.
llvm-svn: 191593
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.h b/llvm/lib/Bitcode/Reader/BitcodeReader.h index 9533597a..b284e8c 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.h +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.h @@ -144,6 +144,8 @@ class BitcodeReader : public GVMaterializer { std::vector<std::pair<GlobalAlias*, unsigned> > AliasInits; std::vector<std::pair<Function*, unsigned> > FunctionPrefixes; + SmallVector<Instruction*, 64> InstsWithTBAATag; + /// MAttributes - The set of attributes by index. Index zero in the /// file is for null, and is thus not represented here. As such all indices /// are off by one. |