[llvm-bugs] [Bug 38075] New: llc for Power allows illegal combinations of -mcpu and -mattr
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jul 5 15:27:07 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38075
Bug ID: 38075
Summary: llc for Power allows illegal combinations of -mcpu and
-mattr
Product: new-bugs
Version: 5.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: bcrocker at redhat.com
CC: llvm-bugs at lists.llvm.org
The llc command on PowerPC allows combinations of -mcpu and -mattr
that should be illegal.
For example,
% llc -mcpu=970 -mattr=+altivec,+vsx
is allowed, but the 970 is a (pre-VSX) Power ISA v2.03 CPU,
while VSX was not introduced until Power ISA v2.06.
This problem pertains both to the free-standing llc command
and to llc as invoked from the Mesa graphics library.
--
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/20180705/97815120/attachment-0001.html>
More information about the llvm-bugs
mailing list