[llvm] [GISEL] Add G_VSCALE instruction (PR #84542)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 11 08:18:57 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
----------------
arsenm wrote:
Failing in what way? 
https://github.com/llvm/llvm-project/pull/84542
    
    
More information about the llvm-commits
mailing list