forked from OSchip/llvm-project
44b16bd4a5
Currently, when a GVN or CSE optimization happens, the llvm.preserve.access.index metadata is dropped. This caused a problem for BPF AbstructMemberOffset phase as it relies on the metadata (debuginfo types). This patch added proper hooks in lib/Transforms to preserve !preserve.access.index metadata. A test case is added to ensure metadata is preserved under CSE. Differential Revision: https://reviews.llvm.org/D65700 llvm-svn: 367769 |
||
---|---|---|
.. | ||
intrinsic-array.ll | ||
intrinsic-struct.ll | ||
intrinsic-transforms.ll | ||
intrinsic-union.ll | ||
offset-reloc-access-str.ll | ||
offset-reloc-basic.ll | ||
offset-reloc-cast-array-1.ll | ||
offset-reloc-cast-array-2.ll | ||
offset-reloc-cast-struct-1.ll | ||
offset-reloc-cast-struct-2.ll | ||
offset-reloc-cast-struct-3.ll | ||
offset-reloc-cast-union-1.ll | ||
offset-reloc-cast-union-2.ll | ||
offset-reloc-global-1.ll | ||
offset-reloc-global-2.ll | ||
offset-reloc-global-3.ll | ||
offset-reloc-ignore.ll | ||
offset-reloc-multi-array-1.ll | ||
offset-reloc-multi-array-2.ll | ||
offset-reloc-multilevel.ll | ||
offset-reloc-pointer-1.ll | ||
offset-reloc-pointer-2.ll | ||
offset-reloc-struct-anonymous.ll | ||
offset-reloc-struct-array.ll | ||
offset-reloc-typedef-array.ll | ||
offset-reloc-typedef-struct.ll | ||
offset-reloc-typedef-union.ll | ||
offset-reloc-typedef.ll | ||
offset-reloc-union.ll | ||
patchable-extern-char.ll | ||
patchable-extern-uint.ll | ||
patchable-extern-ulonglong.ll |