Skip to content
  • Jakob Stoklund Olesen's avatar
    Add an isSSA() flag to MachineRegisterInfo. · 9760f04e
    Jakob Stoklund Olesen authored
    This flag is true from isel to register allocation when the machine
    function is required to be in SSA form.  The TwoAddressInstructionPass
    and PHIElimination passes clear the flag.
    
    The SSA flag wil be used by the machine code verifier to check for SSA
    form, and eventually an assertion can enforce it in +Asserts builds.
    This will catch the common target error of creating machine code with
    multiple defs of a virtual register.
    
    llvm-svn: 136532
    9760f04e
Loading