aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorAlex Richardson <alexrichardson@google.com>2022-11-25 11:27:00 +0000
committerAlex Richardson <alexrichardson@google.com>2022-11-25 11:34:55 +0000
commitd77b7cac27afd2a14e7c5244d01d761f634cc71d (patch)
tree7f64d3ce83de9756db16b6bd8865dbe596e8c068 /llvm/lib/Support/Threading.cpp
parent3e9b6adfc7caa8cc376b78c98069f2c0c6ae3fff (diff)
downloadllvm-d77b7cac27afd2a14e7c5244d01d761f634cc71d.zip
llvm-d77b7cac27afd2a14e7c5244d01d761f634cc71d.tar.gz
llvm-d77b7cac27afd2a14e7c5244d01d761f634cc71d.tar.bz2
[BPF] Avoid checking for intrinsics using string comparisons. NFC
Use a dyn_cast<> to IntrinsicInst and an enum compare instead. While touching this code also re-generate the test to use positive check lines instead of negative ones and remove some unneeded metadata. Reviewed By: yonghong-song Differential Revision: https://reviews.llvm.org/D138565
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions