[llvm] [GISEL] Add G_VSCALE instruction (PR #84542)

Michael Maitland via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 08:25:30 PDT 2024


================
@@ -0,0 +1,15 @@
+# RUN: not --crash llc -verify-machineinstrs -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
+
+---
+name:            g_vscale
+body: |
+  bb.0:
+
+  %1:_(s32) = G_CONSTANT 4
+
+  ; CHECK: G_VSCALE operand must be cimm
+  %2:_(s32) = G_VSCALE %1
+
+  ; CHECK: G_VSCALE immediate cannot be zero
----------------
michaelmaitland wrote:

The second case is reporting `G_VSCALE operand must be cimm`

https://github.com/llvm/llvm-project/pull/84542


More information about the llvm-commits mailing list