[llvm-bugs] [Bug 30513] New: ConstantData should not have use-lists
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Sep 24 14:50:03 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30513
Bug ID: 30513
Summary: ConstantData should not have use-lists
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
Assignee: unassignedbugs at nondot.org
Reporter: dexonsmith at apple.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
r261464 added ConstantData as a code cleanup, but my real goal was to
eventually remove use-lists from types like ConstantInt and ConstantFP. Code
that walks through uses of i32 0 is usually wrong, and even when correct, is
usually inefficient.
Since r261464, I've been rather lazily committing patches to avoid iterating
through ConstantData use-lists. I'll send an RFC to llvm-dev in a moment with
more reasoning and some WIP patches (I'll post a link here after posting), but
I thought a PR to track remaining work would be in order.
--
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/20160924/fae97831/attachment.html>
More information about the llvm-bugs
mailing list