[LLVMbugs] [PATCH] CEE for switch instructions
sabre at nondot.org
Sun Mar 19 11:38:04 PST 2006
On Sun, 19 Mar 2006, Eric Kidd wrote:
> Here's a small patch which allows the CEE optimizer to propagate the
> condition value down each non-default branch of a switch statement.
The patch looks great, applied:
> Since (a) the CEE optimizer is unsupported, and (b) I don't actually
> understand how it works anyway, you shouldn't use this patch on production
> code (unless your grasp of what's going on is better than mine!).
> This patch includes a test case, and it doesn't cause any new test failures
> on my machine. If the LLVM maintainers would like to use this patch, I place
> it into the public domain.
> Share and enjoy!
More information about the llvm-bugs