<html>
    <head>
      <base href="https://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 --- - SSE instructions are generated with SSE disabled"
   href="https://llvm.org/bugs/show_bug.cgi?id=30503">30503</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SSE instructions are generated with SSE disabled
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.9
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>simonas+llvm.org@kazlauskas.me
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Compiling 

    target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
    target triple = "x86_64-unknown-linux-gnu"

    ; Function Attrs: uwtable
    define internal i64 @banana() unnamed_addr #0 {
    entry-block:
      ret i64 0
    }

    ; Function Attrs: nounwind uwtable
    define x86_64_win64cc i64 @peach() unnamed_addr #1 {
    entry-block:
      %0 = call i64 @banana()
      ret i64 %0
    }

    attributes #0 = { uwtable }
    attributes #1 = { nounwind uwtable }

with `llc test.ll -mattr="-sse,-mmx,+soft_float" -filetype=asm -o -` produces
assembly which contains SSE (movaps) instructions, despite SSE being disabled:

    peach:                                  # @peach
        .cfi_startproc
    # BB#0:                                 # %entry-block
        pushq    %rsi
    .Ltmp0:
        .cfi_def_cfa_offset 16
        pushq    %rdi
    .Ltmp1:
        .cfi_def_cfa_offset 24
        subq    $168, %rsp
        movaps    %xmm15, 144(%rsp)       # 16-byte Spill
        movaps    %xmm14, 128(%rsp)       # 16-byte Spill
        movaps    %xmm13, 112(%rsp)       # 16-byte Spill
        movaps    %xmm12, 96(%rsp)        # 16-byte Spill
    # and so forth

Issue is present in 3.8 as well.</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>