LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 27670 - Regression(r268760): Assertion failed: Op.getReg() == NewDestReg && "Copy imp-defs unrelated reg?" when building chromium
Summary: Regression(r268760): Assertion failed: Op.getReg() == NewDestReg && "Copy imp...
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: X86 (show other bugs)
Version: trunk
Hardware: PC Windows NT
: P normal
Assignee: Ahmed Bougacha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-06 15:55 PDT by Nico Weber
Modified: 2016-05-06 21:37 PDT (History)
2 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Weber 2016-05-06 15:55:02 PDT
Repro coming in a second
Comment 1 Nico Weber 2016-05-06 15:56:01 PDT
repro https://bugs.chromium.org/p/chromium/issues/detail?id=609976 (too big for here)
Comment 2 Ahmed Bougacha 2016-05-06 16:00:34 PDT
This should have been fixed in r268787; I'm still working on refining the assertion and writing a small enough testcase.
Comment 3 Ahmed Bougacha 2016-05-06 16:01:00 PDT
Looks like one of the bots recovered:
http://lab.llvm.org:8080/green/job/llvm-stage2-cmake-RgLTO_build/7119/
Comment 4 Nico Weber 2016-05-06 16:05:04 PDT
No, this is still broken at r268792
Comment 5 Nico Weber 2016-05-06 16:05:19 PDT
I'll revert for now.
Comment 6 Nico Weber 2016-05-06 16:07:10 PDT
c:\src\llvm-rw>svn commit -m "Revert r268760, it caused PR27670."
Sending        lib\Target\X86\X86FixupBWInsts.cpp
Sending        test\CodeGen\X86\2011-06-14-PreschedRegalias.ll
Sending        test\CodeGen\X86\anyext.ll
Sending        test\CodeGen\X86\avx512-calling-conv.ll
Sending        test\CodeGen\X86\avx512-mask-op.ll
Sending        test\CodeGen\X86\avx512-select.ll
Sending        test\CodeGen\X86\avx512dq-mask-op.ll
Sending        test\CodeGen\X86\cmovcmov.ll
Deleting       test\CodeGen\X86\fixup-bw-copy.ll
Sending        test\CodeGen\X86\float-conv-elim.ll
Sending        test\CodeGen\X86\machine-combiner-int.ll
Sending        test\CodeGen\X86\opt-ext-uses.ll
Sending        test\CodeGen\X86\pr23664.ll
Sending        test\CodeGen\X86\vector-bitreverse.ll
Sending        test\CodeGen\X86\vector-idiv-sdiv-512.ll
Sending        test\CodeGen\X86\vector-idiv-udiv-512.ll
Sending        test\CodeGen\X86\xaluo.ll
Transmitting file data ................
Committed revision 268794.
Comment 7 Ahmed Bougacha 2016-05-06 16:08:42 PDT
Interesting, thanks! I'll try your testcase.
Comment 8 Ahmed Bougacha 2016-05-06 21:37:44 PDT
Bots look green; resolving.