http://llvm.org/bugs/show_bug.cgi?id=8975
Summary: llc should warn about invalid target triple
Product: tools
Version: 2.8
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: llc
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
When I write an invalid target triple into an LL file,
then llc generates a CPP file without any warning.
It should at least give a warning, but better fail.
The message could also tell how to find out available target-triples.
$ cat invalidtarget.ll
target triple = "invalid"
define i8 @func(i8) {
_L1:
ret i8 %0
}
$ llc invalidtarget.ll
$ ls -1 invalidtarget.*
invalidtarget.cpp
invalidtarget.ll
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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