summaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/DirectX/dot2add.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/DirectX/dot2add.ll')
-rw-r--r--llvm/test/CodeGen/DirectX/dot2add.ll26
1 files changed, 13 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/DirectX/dot2add.ll b/llvm/test/CodeGen/DirectX/dot2add.ll
index 5e1cf405752b..18b4fc57719c 100644
--- a/llvm/test/CodeGen/DirectX/dot2add.ll
+++ b/llvm/test/CodeGen/DirectX/dot2add.ll
@@ -1,13 +1,13 @@
-; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.4-compute %s | FileCheck %s
-
-define noundef float @dot2add_simple(<2 x half> noundef %a, <2 x half> noundef %b, float %acc) {
-entry:
- %ax = extractelement <2 x half> %a, i32 0
- %ay = extractelement <2 x half> %a, i32 1
- %bx = extractelement <2 x half> %b, i32 0
- %by = extractelement <2 x half> %b, i32 1
-
-; CHECK: call float @dx.op.dot2AddHalf.f32(i32 162, float %acc, half %ax, half %ay, half %bx, half %by)
- %ret = call float @llvm.dx.dot2add(float %acc, half %ax, half %ay, half %bx, half %by)
- ret float %ret
-}
+; RUN: opt -S -dxil-op-lower -mtriple=dxil-pc-shadermodel6.4-compute %s | FileCheck %s
+
+define noundef float @dot2add_simple(<2 x half> noundef %a, <2 x half> noundef %b, float %acc) {
+entry:
+ %ax = extractelement <2 x half> %a, i32 0
+ %ay = extractelement <2 x half> %a, i32 1
+ %bx = extractelement <2 x half> %b, i32 0
+ %by = extractelement <2 x half> %b, i32 1
+
+; CHECK: call float @dx.op.dot2AddHalf.f32(i32 162, float %acc, half %ax, half %ay, half %bx, half %by)
+ %ret = call float @llvm.dx.dot2add(float %acc, half %ax, half %ay, half %bx, half %by)
+ ret float %ret
+}