<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Extra code generated in the presence of a large switch"
   href="http://llvm.org/bugs/show_bug.cgi?id=15504">15504</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Extra code generated in the presence of a large switch
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: X86
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eugeni.stepanov@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10175" name="attach_10175" title="reproducer">attachment 10175</a> <a href="attachment.cgi?id=10175&action=edit" title="reproducer">[details]</a></span>
reproducer

# clang test.c  -S -O3 -o -

...
foo:                                    # @foo
        .cfi_startproc
# BB#0:                                 # %entry
        xorb    %al, %al
        testb   %al, %al
        je      .LBB0_1
# BB#4:                                 # %sw.epilog
        ret
.LBB0_1:                                # %entry
        movzbl  (%rdi), %eax
        jmpq    *.LJTI0_0(,%rax,8)
.LBB0_2:                                # %sw.bb
        jmp     bar                     # TAILCALL
.LBB0_3:                                # %sw.bb1
        jmp     baz                     # TAILCALL
...

The part starting at "xorb %al, %al" does not seem to do anything useful.
"ret" at BB#4 is never taken.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>