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: unassignedb...@nondot.org
          Reporter: bcroc...@redhat.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to