[llvm-bugs] [Bug 47935] New: BPF: backport commit 31611721686760fe59c91a84b025e4dee94d1662
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 21 08:37:16 PDT 2020
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: unassignedbugs at nondot.org
Reporter: ys114321 at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
I would like to backport the following commit to llvm 11.0.1.
commit 31611721686760fe59c91a84b025e4dee94d1662 (isel)
Author: Yonghong Song <yhs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201021/578b358b/attachment.html>
More information about the llvm-bugs
mailing list