DirectXShaderCompiler/unittests
Adam Yang b197bec653
Add a new WeakVH value handle; NFC (#6703)
Originally @lizhengxing's PR. Retargeting main.

This PR pulls 2 upstream changes, Add a new WeakVH value handle; NFC
(f1c0eafd5b)
and Use a 2 bit pointer in ValueHandleBase::PrevPair; NFC
(b297bff1cc),
into DXC.

Here's the summary of the changes:

Add a new WeakVH value handle; NFC 
> WeakVH nulls itself out if the value it was tracking gets deleted, but
it does not track RAUW.
> 
>       Reviewers: dblaikie, davide
> 
>       Subscribers: mcrosier, llvm-commits
> 
>       Differential Revision: https://reviews.llvm.org/D32267

Use a 2 bit pointer in ValueHandleBase::PrevPair; NFC

> This was an omission in r301813. I had made the supporting changes to
make this happen, but I forgot to actually update the
> 
> PrevPair declaration.

This is part 4 and 5 of the fix for #6659.
2024-06-21 11:55:24 -07:00
..
ADT [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
Analysis Fix false positive assert in SuccIterator::operator+= (#6623) 2024-05-16 21:10:34 -04:00
AsmParser Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Bitcode Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
CodeGen Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
DebugInfo Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
DxcSupport [NFC] Clang-format DXC sources (#5602) 2023-09-19 07:49:22 -05:00
IR Add a new WeakVH value handle; NFC (#6703) 2024-06-21 11:55:24 -07:00
Linker Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
MC Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Option Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
ProfileData Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00
Support [ClangCL] Fix warning for rest part except clang. (#5705) 2023-10-09 16:59:01 -04:00
Transforms Make it possible to enable building LLVM & Clang unit tests (#4020) 2021-10-20 12:32:45 -05:00
CMakeLists.txt Enable build for dxa/dxl/dxopt/dxr/dxv on linux (#4895) 2023-01-09 15:10:56 -08:00
Makefile.unittest Revert license text in banner comments to original llvm verbage (#33) 2017-01-24 17:54:00 -08:00