Revert "Fix tsan problem where the per-thread shared_ptr() can be locked right before...
authorMitch Phillips <31459023+hctim@users.noreply.github.com>
Wed, 1 Feb 2023 18:35:56 +0000 (10:35 -0800)
committerMitch Phillips <31459023+hctim@users.noreply.github.com>
Wed, 1 Feb 2023 18:35:56 +0000 (10:35 -0800)
commit44003d719dd3e39df2ba122fc91865d8bff738c3
tree1ab113a5a8fbfe6ce683e34424288acaf11470a5
parent5cff68fca0bc21ccad20cc7c8fb9845e32b4c925
Revert "Fix tsan problem where the per-thread shared_ptr() can be locked right before the cache is destroyed causing a race where it tries to remove an entry from a destroyed cache."

This reverts commit bcc10817d5569172ee065015747e226280e9b698.

Reason: Broke the aarch64-asan bot. More information available in the
Phabricator review: https://reviews.llvm.org/D140931
mlir/include/mlir/Support/ThreadLocalCache.h