Skip to content
  1. May 19, 2012
  2. May 18, 2012
  3. May 17, 2012
  4. May 16, 2012
    • Jakob Stoklund Olesen's avatar
      Set sub-register <undef> flags more accurately. · ab482839
      Jakob Stoklund Olesen authored
      When widening an existing <def,reads-undef> operand to a super-register,
      it may be necessary to clear the <undef> flag because the wider register
      is now read-modify-write through the instruction.
      
      Conversely, it may be necessary to add an <undef> flag when the
      coalescer turns a full-register def into a sub-register def, but the
      larger register wasn't live before the instruction.
      
      This happens in test/CodeGen/ARM/coalesce-subregs.ll, but the test
      is too small for the <undef> flags to affect the generated code.
      
      llvm-svn: 156951
      ab482839
Loading