]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Clarify that llvm.used can contain aliases.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 22 Apr 2013 14:58:02 +0000 (14:58 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 22 Apr 2013 14:58:02 +0000 (14:58 +0000)
commitcde25b435a907e7741da0c0d18953850936277c4
tree30353631edc608810481f7ad09e5163c2826d3f6
parent2c55362848eab1a8552a31f8da1a47d17105b4d9
Clarify that llvm.used can contain aliases.

Also add a check for llvm.used in the verifier and simplify clients now that
they can assume they have a ConstantArray.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180019 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
docs/LangRef.rst
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/MachineModuleInfo.cpp
lib/IR/Verifier.cpp
lib/Transforms/IPO/ConstantMerge.cpp
lib/Transforms/IPO/StripSymbols.cpp
lib/Transforms/Scalar/GlobalMerge.cpp
test/Feature/aliases.ll
test/Verifier/llvm.used-invalid-init.ll [new file with mode: 0644]
test/Verifier/llvm.used-invalid-init2.ll [new file with mode: 0644]
test/Verifier/llvm.used-invalid-type.ll [new file with mode: 0644]
test/Verifier/llvm.used-invalid-type2.ll [new file with mode: 0644]
test/Verifier/llvm.used-ptr-type.ll [new file with mode: 0644]