[LLVMbugs] [Bug 20567] New: no warning/error for bogus triple parameter value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 6 13:58:49 PDT 2014


            Bug ID: 20567
           Summary: no warning/error for bogus triple parameter value
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
          Assignee: unassignedbugs at nondot.org
          Reporter: spatel+llvm at rotateright.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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


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: bug 20557.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140806/15fe2ce8/attachment.html>

More information about the llvm-bugs mailing list