http://llvm.org/bugs/show_bug.cgi?id=20567

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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
    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: bug 20557.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to