Skip to content

Commit b99898c

Browse files
committed
Fix target specific InstCombine
A clang arm test was failing if clang is compiled without arm support. Regression was introduced in 2a6c871
1 parent 167cac3 commit b99898c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/CodeGen/aarch64-bf16-ldst-intrinsics.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %clang_cc1 -triple armv8.6a-arm-none-eabi -target-feature +neon -target-feature +bf16 -mfloat-abi hard \
44
// RUN: -O2 -emit-llvm %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK32
55

6+
// REQUIRES: arm-registered-target,aarch64-registered-target
7+
68
#include "arm_neon.h"
79

810
bfloat16x4_t test_vld1_bf16(bfloat16_t const *ptr) {

0 commit comments

Comments
 (0)