Skip to content
Snippets Groups Projects
  • Jakob Stoklund Olesen's avatar
    Run ProcessImplicitDefs on SSA form where it can be much simpler. · eb495664
    Jakob Stoklund Olesen authored
    Implicitly defined virtual registers can simply have the <undef> bit set
    on all uses, and copies can be turned into implicit defs recursively.
    
    Physical registers are a bit trickier. We handle the common case where a
    physreg def is used by a nearby instruction in the same basic block. For
    more complicated cases, just leave the IMPLICIT_DEF instruction in.
    
    llvm-svn: 159149
    eb495664