[all-commits] [llvm/llvm-project] d77b7c: [BPF] Avoid checking for intrinsics using string c...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Fri Nov 25 03:35:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d77b7cac27afd2a14e7c5244d01d761f634cc71d
      https://github.com/llvm/llvm-project/commit/d77b7cac27afd2a14e7c5244d01d761f634cc71d
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M llvm/lib/Target/BPF/BPFIRPeephole.cpp
    M llvm/test/CodeGen/BPF/vla.ll

  Log Message:
  -----------
  [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


  Commit: 54ad4d2dd1526c53c3647eee26f8ecc2ff63f30c
      https://github.com/llvm/llvm-project/commit/54ad4d2dd1526c53c3647eee26f8ecc2ff63f30c
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    M clang/test/CodeGen/X86/avx512-kconstraints-att_inline_asm.c
    M clang/test/CodeGen/catch-undef-behavior.c
    M clang/test/CodeGen/exceptions-seh-leave.c
    M clang/test/CodeGen/fp-atomic-ops.c
    M clang/test/CodeGenCXX/catch-undef-behavior.cpp
    M clang/test/CodeGenCXX/for-range-temporaries.cpp
    M clang/test/CodeGenOpenCL/atomic-ops.cl
    M clang/test/CodeGenOpenCL/convergent.cl

  Log Message:
  -----------
  Drop redundant pipe to opt -instnamer in clang tests

This used to be required, but the difference between asserts/!asserts
builds no longer exists for %clang_cc1 (only for %clang), so they pass
just fine without this flag.


Compare: https://github.com/llvm/llvm-project/compare/3e9b6adfc7ca...54ad4d2dd152


More information about the All-commits mailing list