[llvm-bugs] [Bug 22614] Crash in InstrEmitter, Assertion `I != VRBaseMap.end() && "Node emitted out of order - late"'

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 25 15:43:55 PDT 2019


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

Craig Topper <craig.topper at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #6 from Craig Topper <craig.topper at gmail.com> ---
I can still reproduce this issue with this test with -pre-RA-sched-linearize

define void @test_urem7_v2i32(<2 x i32>* %x, <2 x i32>* %y) nounwind {
  %a = load <2 x i32>, <2 x i32>* %x
  %b = urem <2 x i32> %a, <i32 7, i32 7>
  store <2 x i32> %b, <2 x i32>* %y
  ret void
}


This appears to be due to lea matching creating a negate operation that may end
up not getting used. https://reviews.llvm.org/D61047 might address this

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190425/46f9bc4b/attachment.html>


More information about the llvm-bugs mailing list