llvm-6502/lib
Duncan P. N. Exon Smith 85cbe57fc5 IR: Don't track nullptr on metadata RAUW
The RAUW support in `Metadata` supports going to `nullptr` specifically
to handle values being deleted, causing `ValueAsMetadata` to be deleted.

Fix the case where the reference is from a `TrackingMDRef` (as opposed
to an `MDOperand` or a `MetadataAsValue`).

This is surprisingly rare -- metadata tracked by `TrackingMDRef` going
to null -- but it came up in an openSUSE bootstrap during inlining.  The
tracking ref was held by the `ValueMap` because it was referencing a
local, the basic block containing the local became dead after it had
been merged in, and when the local was deleted, the tracking ref
asserted in an `isa`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224146 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-12 19:24:33 +00:00
..
Analysis Fix PR21694. r219517 added a use of SCEV divide in HowFarToZero computation. This divide can produce incorrect results as we are using an unsigned divide for what should be a modular divide. This change reverts back to a more conservative computation using trailing zeros. 2014-12-10 22:53:52 +00:00
AsmParser AsmParser: Don't crash on an ill-formed MDNodeVector 2014-12-11 20:51:54 +00:00
Bitcode Bitcode: Add missing "Remove in 4.0" comments 2014-12-12 02:11:31 +00:00
CodeGen Reapply "[MachineScheduler] Fix for PR21807: minor code difference building with/without -g." 2014-12-12 15:09:58 +00:00
DebugInfo Make DWARFAcceleratorTable::dump() const. 2014-11-20 16:21:11 +00:00
ExecutionEngine Move three methods only used by MCJIT to MCJIT. 2014-12-10 20:46:55 +00:00
IR IR: Don't track nullptr on metadata RAUW 2014-12-12 19:24:33 +00:00
IRReader
LineEditor
Linker IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
LTO IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
MC clang-formatted ranged loops and assignment, NFC. 2014-12-04 08:30:39 +00:00
Object Move three methods only used by MCJIT to MCJIT. 2014-12-10 20:46:55 +00:00
Option
ProfileData llvm-cov: Sink some reporting logic into CoverageMapping 2014-11-14 01:50:32 +00:00
Support MAP_FILE is the default. We don't need to add it. 2014-12-12 19:12:42 +00:00
TableGen Use range-based for loops. NFC 2014-12-11 07:04:54 +00:00
Target [AVX512] Enabling bit logic lowering 2014-12-12 17:02:18 +00:00
Transforms More code format fix from r224133, NFC 2014-12-12 18:48:37 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile