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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to