Skip to content
Snippets Groups Projects
  • Chris Lattner's avatar
    add a new OPC_SwitchOpcode which is semantically equivalent · f4d17752
    Chris Lattner authored
    to a scope where every child starts with a CheckOpcode, but
    executes more efficiently.  Enhance DAGISelMatcherOpt to 
    form it.
    
    This also fixes a bug in CheckOpcode: apparently the SDNodeInfo
    objects are not pointer comparable, we have to compare the
    enum name.
    
    llvm-svn: 97438
    f4d17752
DAGISelMatcherEmitter.cpp 23.77 KiB