llvm-project/llvm/test/CodeGen/BPF/CORE
Yonghong Song 44b16bd4a5 [Transforms] Do not drop !preserve.access.index metadata
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
2019-08-03 23:41:26 +00:00
..
intrinsic-array.ll [BPF] annotate DIType metadata for builtin preseve_array_access_index() 2019-08-02 21:28:28 +00:00
intrinsic-struct.ll
intrinsic-transforms.ll [Transforms] Do not drop !preserve.access.index metadata 2019-08-03 23:41:26 +00:00
intrinsic-union.ll
offset-reloc-access-str.ll [BPF] fix CO-RE incorrect index access string 2019-07-25 16:01:26 +00:00
offset-reloc-basic.ll
offset-reloc-cast-array-1.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-cast-array-2.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-cast-struct-1.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-cast-struct-2.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-cast-struct-3.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-cast-union-1.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-cast-union-2.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-global-1.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-global-2.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-global-3.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-ignore.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-multi-array-1.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-multi-array-2.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-multilevel.ll
offset-reloc-pointer-1.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-pointer-2.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-struct-anonymous.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-struct-array.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-typedef-array.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-typedef-struct.ll [BPF] fix typedef issue for offset relocation 2019-07-25 21:47:27 +00:00
offset-reloc-typedef-union.ll [BPF] fix typedef issue for offset relocation 2019-07-25 21:47:27 +00:00
offset-reloc-typedef.ll [BPF] Handling type conversions correctly for CO-RE 2019-08-02 23:16:44 +00:00
offset-reloc-union.ll
patchable-extern-char.ll
patchable-extern-uint.ll
patchable-extern-ulonglong.ll