https://llvm.org/bugs/show_bug.cgi?id=24199

            Bug ID: 24199
           Summary: Crash in
                    llvm::MachineTraceMetrics::Ensemble::computeCrossBlock
                    CriticalPath
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 14622
  --> https://llvm.org/bugs/attachment.cgi?id=14622&action=edit
Test case

The attached reduced test case (test.cpp) causes a crash in
llvm::MachineTraceMetrics::Ensemble::computeCrossBlockCriticalPath.

Compile with:

clang test.cpp -c -ffast-math -O3 -g

Stack trace attached.

Manually bisecting indicates that it started with r241515:

--------------------
[x86] extend machine combiner reassociation optimization to SSE scalar adds

Extend the reassociation optimization of http://reviews.llvm.org/rL240361
(D10460)
to SSE scalar FP SP adds in addition to AVX scalar FP SP adds.

With the 'switch' in place, we can trivially add other opcodes and test cases
in
future patches.

Differential Revision: http://reviews.llvm.org/D10975
--------------------

-- 
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

Reply via email to