[AArch64] Fix test streaming-compatible-expand-masked-gather-scatter.ll
authorDavid Sherwood <david.sherwood@arm.com>
Thu, 1 Dec 2022 10:46:44 +0000 (10:46 +0000)
committerDavid Sherwood <david.sherwood@arm.com>
Thu, 1 Dec 2022 10:49:02 +0000 (10:49 +0000)
Fixes an issue introduced by D138588.

We should only run the test on a aarch64 registered target since it
makes use of a target-only flag.

llvm/test/Transforms/ScalarizeMaskedMemIntrin/AArch64/streaming-compatible-expand-masked-gather-scatter.ll

index b0adcb8..3a629a2 100644 (file)
@@ -1,4 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; REQUIRES: aarch64-registered-target
 ; RUN: opt -enable-new-pm=0 -S %s -scalarize-masked-mem-intrin -mtriple=aarch64-linux-gnu -mattr=+sve -force-streaming-compatible-sve | FileCheck %s
 
 define <2 x i32> @scalarize_v2i32(<2 x ptr> %p, <2 x i1> %mask, <2 x i32> %passthru) {