Skip to content

Commit 8800b11

Browse files
committed
[RISCV] Pin a test to scalar lowering to preserve test intent [nfc]
In an upcoming change to enable fixed length vector lowering via vector registers, the codepath exercised would change. Pin this to the old lowering.
1 parent 8c26680 commit 8800b11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/CodeGen/RISCV/vec3-setcc-crash.ll

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs < %s \
3-
; RUN: | FileCheck %s --check-prefix=RV32
4-
; RUN: llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs < %s \
5-
; RUN: | FileCheck %s --check-prefix=RV64
2+
; RUN: llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs \
3+
; RUN: -riscv-v-vector-bits-min=0 < %s | FileCheck %s --check-prefix=RV32
4+
; RUN: llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs \
5+
; RUN: -riscv-v-vector-bits-min=0 < %s | FileCheck %s --check-prefix=RV64
66

77
; This test would lead one of the DAGCombiner's visitVSELECT optimizations to
88
; call getSetCCResultType, from which we'd return an invalid MVT (<3 x i1>)

0 commit comments

Comments
 (0)