[clang] [llvm] [BPF] Add UHMUL and SHMUL instruction variants with -mcpu=v5 (PR #234076)
Shengxin Pei via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 21 01:31:53 PDT 2026
================
@@ -4,6 +4,8 @@
// RUN: %clang -E -target bpfel -mcpu=v2 -x c -o - %s | FileCheck -check-prefix=CHECK -check-prefix=CPU_V2 %s
// RUN: %clang -E -target bpfel -mcpu=v3 -x c -o - %s | FileCheck -check-prefix=CHECK -check-prefix=CPU_V3 %s
// RUN: %clang -E -target bpfel -mcpu=v4 -x c -o - %s | FileCheck -check-prefix=CHECK -check-prefix=CPU_V4 %s
+// RUN: %clang -E -target bpfel -mcpu=v5 -x c -o - %s | FileCheck -check-prefix=CHECK -check-prefix=CPU_V5 %s
+// RUN: %clang -E -target bpfeb -mcpu=v5 -x c -o - %s | FileCheck -check-prefix=CHECK -check-prefix=CPU_V5 %s
----------------
TPPPP72 wrote:
Why we need to test big-endian here?
https://github.com/llvm/llvm-project/pull/234076
More information about the cfe-commits
mailing list