diff --git a/llvm/test/CodeGen/AArch64/sve-vector-splat.ll b/llvm/test/CodeGen/AArch64/sve-vector-splat.ll index fdb3ee6c066cbb..dab5405f23c03e 100644 --- a/llvm/test/CodeGen/AArch64/sve-vector-splat.ll +++ b/llvm/test/CodeGen/AArch64/sve-vector-splat.ll @@ -1,4 +1,4 @@ -; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve < %s | FileCheck %s +; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve,+fullfp16 < %s | FileCheck %s ;; Splats of legal integer vector types @@ -190,26 +190,23 @@ define @splat_nxv2f64(double %val) { ret %2 } -; TODO: The f16 constant should be folded into the move. define @splat_nxv8f16_zero() { ; CHECK-LABEL: splat_nxv8f16_zero: -; CHECK: mov z0.h, h0 +; CHECK: mov z0.h, #0 ; CHECK-NEXT: ret ret zeroinitializer } -; TODO: The f16 constant should be folded into the move. define @splat_nxv4f16_zero() { ; CHECK-LABEL: splat_nxv4f16_zero: -; CHECK: mov z0.h, h0 +; CHECK: mov z0.h, #0 ; CHECK-NEXT: ret ret zeroinitializer } -; TODO: The f16 constant should be folded into the move. define @splat_nxv2f16_zero() { ; CHECK-LABEL: splat_nxv2f16_zero: -; CHECK: mov z0.h, h0 +; CHECK: mov z0.h, #0 ; CHECK-NEXT: ret ret zeroinitializer }