[llvm-bugs] [Bug 31518] New: refactor metadata propagation for consistency and completeness

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 3 08:06:49 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31518

            Bug ID: 31518
           Summary: refactor metadata propagation for consistency and
                    completeness
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: spatel+llvm at rotateright.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

As Davide noted in the post-commit thread for r290844:
http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20170102/416121.html

...we have many implementations/variations for propagating metadata in
individual passes. Some of these may require different behavior, but there must
be some functionality that can be shared amongst:

GVN::patchReplacementInstruction()
GVNHoist::combineKnownMetadata()
SimplifyCFG::HoistThenElseCodeToIf()
BBVectorize::fuseChosenPairs()
VectorUtils:propagateMetadata()

We have Local.cpp -> llvm::combineMetadataForCSE(). Can it be used in these
cases?

-- 
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/20170103/08c5c207/attachment.html>


More information about the llvm-bugs mailing list