<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Stack dump thrown for -mcpu=unknown (target is unknown one)"
   href="https://bugs.llvm.org/show_bug.cgi?id=47484">47484</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Stack dump thrown for -mcpu=unknown  (target is unknown one)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>venkataramanan.kumar.llvm@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>--Snip--
unknown' is not a recognized processor for this target (ignoring processor)

'unknown' is not a recognized processor for this target (ignoring processor)

'unknown' is not a recognized processor for this target (ignoring processor)

'unknown' is not a recognized processor for this target (ignoring processor)

'unknown' is not a recognized processor for this target (ignoring processor)

'unknown' is not a recognized processor for this target (ignoring processor)

LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!

PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.

Stack dump:

0.      Program arguments: /opt/compiler-explorer/clang-trunk/bin/llc -o
./output.s -x86-asm-syntax=intel -mcpu=unknown <source> 

1.      Running pass 'Function Pass Manager' on module '<source>'.

2.      Running pass 'Expand Atomic instructions' on function '@foo'

 #0 0x0000561c3268b78c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x25d478c)

 #1 0x0000561c326895e4 llvm::sys::RunSignalHandlers()
(/opt/compiler-explorer/clang-trunk/bin/llc+0x25d25e4)

 #2 0x0000561c32689733 SignalHandler(int)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x25d2733)

 #3 0x00007fe5cc85a3c0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x153c0)

 #4 0x00007fe5cc32a18b raise (/lib/x86_64-linux-gnu/libc.so.6+0x4618b)

 #5 0x00007fe5cc309859 abort (/lib/x86_64-linux-gnu/libc.so.6+0x25859)

 #6 0x0000561c32601e56 llvm::report_fatal_error(llvm::Twine const&, bool)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x254ae56)

 #7 0x0000561c32601f78 (/opt/compiler-explorer/clang-trunk/bin/llc+0x254af78)

 #8 0x0000561c315ac02c
llvm::X86Subtarget::initSubtargetFeatures(llvm::StringRef, llvm::StringRef,
llvm::StringRef) (/opt/compiler-explorer/clang-trunk/bin/llc+0x14f502c)

 #9 0x0000561c315ac66f llvm::X86Subtarget::X86Subtarget(llvm::Triple const&,
llvm::StringRef, llvm::StringRef, llvm::StringRef, llvm::X86TargetMachine
const&, llvm::MaybeAlign, unsigned int, unsigned int)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x14f566f)

#10 0x0000561c313cd28a llvm::X86TargetMachine::getSubtargetImpl(llvm::Function
const&) const (/opt/compiler-explorer/clang-trunk/bin/llc+0x131628a)

#11 0x0000561c31aa36c2 (anonymous
namespace)::AtomicExpand::runOnFunction(llvm::Function&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x19ec6c2)

#12 0x0000561c31fc0f17 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1f09f17)

#13 0x0000561c31fc1631 llvm::FPPassManager::runOnModule(llvm::Module&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1f0a631)

#14 0x0000561c31fc028f llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x1f0928f)

#15 0x0000561c307fe9f7 compileModule(char**, llvm::LLVMContext&)
(/opt/compiler-explorer/clang-trunk/bin/llc+0x7479f7)

#16 0x0000561c307552d7 main
(/opt/compiler-explorer/clang-trunk/bin/llc+0x69e2d7)

#17 0x00007fe5cc30b0b3 __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x270b3)

#18 0x0000561c307f7b2a _start
(/opt/compiler-explorer/clang-trunk/bin/llc+0x740b2a)

Compiler returned: 255
--Snip--


ref: <a href="https://godbolt.org/z/7jbnj1">https://godbolt.org/z/7jbnj1</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>