<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 --- - no warning/error for bogus triple parameter value"
   href="http://llvm.org/bugs/show_bug.cgi?id=20567">20567</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>no warning/error for bogus triple parameter value
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </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>llc
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>spatel+llvm@rotateright.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>Using llc built from r214897...unpleasant surprise:

$ cat foo.ll
define <4 x float> @fneg4(<4 x float> %x) #0 {
  %sub = fsub <4 x float> zeroinitializer, %x
  ret <4 x float> %sub
}

$ ./llc -mtriple=x86-64 foo.ll -o -
...
    movi    v1.2d, #0000000000000000
    fsub    v0.4s, v1.4s, v0.4s
    ret

---------------------------------------------------------

That's not x86-64.

I typo'd the triple for "x86_64". It would be nicer if the tools warned on
invalid params. 

There is a warning for a bad -mcpu value sometimes...or not: <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - bogus cpu parameter crashes llc"
   href="show_bug.cgi?id=20557">bug 20557</a>.</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>