Skip to content
  • Evan Cheng's avatar
    Teach PHI elimination to remove REG_SEQUENCE instructions and update... · 4c908f41
    Evan Cheng authored
    Teach PHI elimination to remove REG_SEQUENCE instructions and update references of the source operands with references of the destination with subreg indices. e.g.
    %reg1029<def>, %reg1030<def> = VLD1q16 %reg1024<kill>, ...
    %reg1031<def> = REG_SEQUENCE %reg1029<kill>, 5, %reg1030<kill>, 6
    =>
    %reg1031:5<def>, %reg1031:6<def> = VLD1q16 %reg1024<kill>, ...
    
    PHI elimination now does more than phi elimination. It is really a de-SSA pass.
    
    llvm-svn: 103039
    4c908f41
Loading