https://bugs.llvm.org/show_bug.cgi?id=47935
Bug ID: 47935
Summary: BPF: backport commit
31611721686760fe59c91a84b025e4dee94d1662
Product: new-bugs
Version: 11.0
Hardware: PC
OS: All
Status: NEW
Severity: release blocker
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: ys114...@gmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org
I would like to backport the following commit to llvm 11.0.1.
commit 31611721686760fe59c91a84b025e4dee94d1662 (isel)
Author: Yonghong Song <y...@fb.com>
Date: Wed Oct 7 16:24:33 2020 -0700
BPF: fix incorrect DAG2DAG load optimization
Currently, bpf backend Instruction section DAG2DAG phase has
an optimization to replace loading constant struct memeber
or array element with direct values. The reason is that these
locally defined struct or array variables may have their
initial values stored in a readonly section and early bpf
ecosystem is not able to handle such cases.
...
This fixed a bug where wrong code could be generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs