mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Fix for PR23310: llvm-dis crashes when trying to upgrade an intrinsic.
When trying to upgrade @llvm.x86.sse2.psrl.dq while parsing a module, BitcodeReader adds the function to its worklist twice, resulting in a crash when accessing it the second time. This patch replaces the worklist vector by a map. Patch by Philip Pfaffe. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241281 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
BIN
test/Bitcode/Inputs/PR23310.bc
Normal file
BIN
test/Bitcode/Inputs/PR23310.bc
Normal file
Binary file not shown.
1
test/Bitcode/PR23310.test
Normal file
1
test/Bitcode/PR23310.test
Normal file
@@ -0,0 +1 @@
|
||||
RUN: llvm-dis -disable-output %p/Inputs/PR23310.bc
|
Reference in New Issue
Block a user