<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - LLVM ICE aarch64 -Ofast in Post-RA"
   href="https://llvm.org/bugs/show_bug.cgi?id=30909">30909</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLVM ICE aarch64 -Ofast in Post-RA
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>brzycki@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=17552" name="attach_17552" title="preprocessed source">attachment 17552</a> <a href="attachment.cgi?id=17552&action=edit" title="preprocessed source">[details]</a></span>
preprocessed source

I received the following crash and backtrace:

/tmp/bmr $
/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/aarch64-local-linux-gnu-clang
-Ofast -c c.i -o /dev/null
unimplemented reg-to-reg copy
UNREACHABLE executed at
/tmp/tmp.t13VWd7L7x/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:2299!
#0 0x00007f262c0251b5 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMSupport.so.40+0xdf1b5)
#1 0x00007f262c022f0e llvm::sys::RunSignalHandlers()
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMSupport.so.40+0xdcf0e)
#2 0x00007f262c023072 SignalHandler(int)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMSupport.so.40+0xdd072)
#3 0x00007f262f510330 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x10330)
#4 0x00007f2629ec6c37 gsignal
/build/eglibc-oGUzwX/eglibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0
#5 0x00007f2629eca028 abort
/build/eglibc-oGUzwX/eglibc-2.19/stdlib/abort.c:91:0
#6 0x00007f262bfba47a
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMSupport.so.40+0x7447a)
#7 0x00007f263123608d
llvm::AArch64InstrInfo::copyPhysReg(llvm::MachineBasicBlock&,
llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::DebugLoc
const&, unsigned int, unsigned int, bool) const
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMAArch64CodeGen.so.40+0xdf08d)
#8 0x00007f262ff1880b (anonymous
namespace)::ExpandPostRA::runOnMachineFunction(llvm::MachineFunction&)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMCodeGen.so.40+0xe280b)
#9 0x00007f262fff9005 llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMCodeGen.so.40+0x1c3005)
#10 0x00007f262d3e6083 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMCore.so.40+0x164083)
#11 0x00007f262d3e614c llvm::FPPassManager::runOnModule(llvm::Module&)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMCore.so.40+0x16414c)
#12 0x00007f262d3e5c1d llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libLLVMCore.so.40+0x163c1d)
#13 0x00007f262ea1c756 clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions
const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream> >)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libclangCodeGen.so.40+0x77756)
#14 0x00007f262ebd997e
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libclangCodeGen.so.40+0x23497e)
#15 0x00007f262737d238 clang::ParseAST(clang::Sema&, bool, bool)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/../lib/libclangParse.so.40+0x2c238)
#16 0x00007f262ebd5137 clang::CodeGenAction::ExecuteAction()
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libclangCodeGen.so.40+0x230137)
#17 0x00007f262e3c6006 clang::FrontendAction::Execute()
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libclangFrontend.so.40+0xb3006)
#18 0x00007f262e38f136
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libclangFrontend.so.40+0x7c136)
#19 0x00007f262e1118bb
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/libclangFrontendTool.so.40+0x38bb)
#20 0x000000000040fff8 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*)
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/clang-4.0+0x40fff8)
#21 0x000000000040e81c main
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/clang-4.0+0x40e81c)
#22 0x00007f2629eb1f45 __libc_start_main
/build/eglibc-oGUzwX/eglibc-2.19/csu/libc-start.c:321:0
#23 0x000000000040ac89 _start
(/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/clang-4.0+0x40ac89)
Stack dump:
0.      Program arguments:
/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/clang-4.0 -cc1 -triple
aarch64-local-linux-gnu -emit-obj -disable-free -main-file-name c.i
-mrelocation-model static -mthread-model posix -mdisable-fp-elim
-menable-no-infs -menable-no-nans -menable-unsafe-fp-math -fno-signed-zeros
-freciprocal-math -fno-trapping-math -ffp-contract=fast -ffast-math
-masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu generic
-target-feature +neon -target-abi aapcs -dwarf-column-info -debugger-tuning=gdb
-coverage-notes-file /dev/null.gcno -resource-dir
/cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin/../lib/clang/4.0.0
-Ofast -fdebug-compilation-dir /tmp/bmr -ferror-limit 19 -fmessage-length 167
-fallow-half-arguments-and-returns -fno-signed-char -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-o /dev/null -x cpp-output c.i
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'c.i'.
4.      Running pass 'Post-RA pseudo instruction expansion pass' on function
'@timevar_print'
clang-4.0: error: unable to execute command: Aborted (core dumped)
clang-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0
Target: aarch64-local-linux-gnu
Thread model: posix
InstalledDir: /cc_test/llvm-4.0/2016-10-18-23-30-07-f630ecb-master/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-4.0: note: diagnostic msg: Error generating preprocessed source(s) - no
preprocessable inputs.</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>