Skip to content
  • Jakob Stoklund Olesen's avatar
    Fix PR10387. · c0dd3da9
    Jakob Stoklund Olesen authored
    When trying to rematerialize a value before an instruction that has an
    early-clobber redefine of the virtual register, make sure to look up the
    correct value number.
    
    Early-clobber defs are moved one slot back, so getBaseIndex is needed to
    find the used value number.
    
    Bugpoint was unable to reduce the test case for this, see PR10388.
    
    llvm-svn: 135378
    c0dd3da9
Loading