From 43c4d915a35ab7d550ce816b8ea0a68ab4bd9e4b Mon Sep 17 00:00:00 2001 From: Stanislav Mekhanoshin Date: Fri, 18 Mar 2022 13:34:35 -0700 Subject: [PATCH] [AMDGPU] Added gfx940 mfma dst constraint test. NFC. --- llvm/test/MC/AMDGPU/mai-err-gfx940.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/test/MC/AMDGPU/mai-err-gfx940.s b/llvm/test/MC/AMDGPU/mai-err-gfx940.s index 499bd691cf3e..24c923d47b68 100644 --- a/llvm/test/MC/AMDGPU/mai-err-gfx940.s +++ b/llvm/test/MC/AMDGPU/mai-err-gfx940.s @@ -41,3 +41,6 @@ v_mfma_i32_32x32x8i8 a[0:15], v0, v1, a[0:15] v_mfma_i32_16x16x16i8 a[0:3], v0, v1, a[0:3] // GFX940: error: instruction not supported on this GPU + +v_mfma_f64_16x16x4_f64 a[0:7], v[0:1], v[2:3], a[2:9] +// GFX940: error: source 2 operand must not partially overlap with dst