AutoUpgrade: upgrade from scalar TBAA format to struct-path aware TBAA format.
authorManman Ren <manman.ren@gmail.com>
Sat, 28 Sep 2013 00:22:27 +0000 (00:22 +0000)
committerManman Ren <manman.ren@gmail.com>
Sat, 28 Sep 2013 00:22:27 +0000 (00:22 +0000)
commit804f034bd18789e9bbf4c70c10189dd6dbf04128
tree934646950d694157e4fc94e5fd7bb19a8e231697
parent6ff59a16a05d43fdda587ce600b5b42a63cf3d33
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191593 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/AutoUpgrade.h
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Reader/BitcodeReader.h
lib/IR/AutoUpgrade.cpp
test/Bitcode/upgrade-tbaa.ll [new file with mode: 0644]