Skip to content
  • Dan Gohman's avatar
    Don't merge uses when they are targetting fixup sites with · 14152082
    Dan Gohman authored
    different widths. In a use with a narrower fixup, formulae
    may be wider than the fixup, in which case the high bits
    aren't necessarily meaningful, so it isn't safe to reuse
    them for uses with wider fixups.
    
    This fixes PR7618, though the testcase is too large for a
    reasonable regression test, since it heavily dependes on
    hitting LSR's heuristics in a certain way.
    
    llvm-svn: 108455
    14152082
Loading