[llvm] [RISCV][GISEL] Legalize G_BITCAST for scalable vectors (PR #85970)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 20 10:19:41 PDT 2024
================
@@ -0,0 +1,761 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
+# RUN: llc -mtriple=riscv32 -mattr=+v -run-pass=legalizer %s -o - | FileCheck %s
+# RUN: llc -mtriple=riscv64 -mattr=+v -run-pass=legalizer %s -o - | FileCheck %s
+
+# Extend from s1 element vectors
+---
+name: bitcastnxv1i8_nxv1i1
+legalized: false
+tracksRegLiveness: true
+body: |
+ bb.0.entry:
+ ; CHECK-LABEL: name: bitcastnxv1i8_nxv1i1
----------------
michaelmaitland wrote:
Need to re-work test cases as it looks like GISEL was smart enough to remove the instruction.
https://github.com/llvm/llvm-project/pull/85970
More information about the llvm-commits
mailing list