| commit | f4d1775263c99dd4018c8f55dddda26c0be662da | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Mon Mar 01 06:59:22 2010 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Mon Mar 01 06:59:22 2010 +0000 |
| tree | ead3f7ac022d52ad3b06f522b995b9e4f81e3bc0 | |
| parent | 6d3cc382df473971b1cf4097cb37a7f5f9631920 [diff] |
add a new OPC_SwitchOpcode which is semantically equivalent 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