[LLVMbugs] [Bug 15317] New: LiveInterval::killedAt() is broken for early-clobber kills and should be replaced by LiveRangeQuery

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 20 19:24:00 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15317

            Bug ID: 15317
           Summary: LiveInterval::killedAt() is broken for early-clobber
                    kills and should be replaced by LiveRangeQuery
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: zwarich at apple.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

LiveInterval::killedAt() has this implementation:

    bool killedAt(SlotIndex index) const {
      const_iterator r = find(index.getRegSlot(true));
      return r != end() && r->end == index;
    }

This will always return false for an early-clobber kill. We should replace its
(thankfully few) uses with LiveRangeQuery.

-- 
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/20130221/5509f0a0/attachment.html>


More information about the llvm-bugs mailing list