summaryrefslogtreecommitdiffstats
path: root/libcxx/utils
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2019-08-03 23:41:26 +0000
committerYonghong Song <yhs@fb.com>2019-08-03 23:41:26 +0000
commit44b16bd4a5b20ce8b4e9ef56836123a2038f3670 (patch)
treee5a67d676dc8df38e66b489c0f71954243e4444c /libcxx/utils
parent2edeb8a11a0a324f627b8622066b6997e057bd63 (diff)
downloadbcm5719-llvm-44b16bd4a5b20ce8b4e9ef56836123a2038f3670.tar.gz
bcm5719-llvm-44b16bd4a5b20ce8b4e9ef56836123a2038f3670.zip
[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
Diffstat (limited to 'libcxx/utils')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud