[llvm] [RISCV][VLOPT] Fix VCFCT incompatible EEW test (PR #122327)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 10:13:26 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-risc-v
Author: Michael Maitland (michaelmaitland)
<details>
<summary>Changes</summary>
https://github.com/llvm/llvm-project/pull/122151 added this test with an invalid SEW. Use a valid SEW here.
---
Full diff: https://github.com/llvm/llvm-project/pull/122327.diff
1 Files Affected:
- (modified) llvm/test/CodeGen/RISCV/rvv/vl-opt-op-info.mir (+2-2)
``````````diff
diff --git a/llvm/test/CodeGen/RISCV/rvv/vl-opt-op-info.mir b/llvm/test/CodeGen/RISCV/rvv/vl-opt-op-info.mir
index 2359fae9389d06..389a7ff1fdbc3d 100644
--- a/llvm/test/CodeGen/RISCV/rvv/vl-opt-op-info.mir
+++ b/llvm/test/CodeGen/RISCV/rvv/vl-opt-op-info.mir
@@ -1423,9 +1423,9 @@ name: vfred_vs1_vs2_incompatible_eew
body: |
bb.0:
; CHECK-LABEL: name: vfred_vs1_vs2_incompatible_eew
- ; CHECK: %x:vr = nofpexcept PseudoVFCVT_X_F_V_M1 $noreg, $noreg, 0, -1, 3 /* e8 */, 0 /* tu, mu */
+ ; CHECK: %x:vr = nofpexcept PseudoVFCVT_X_F_V_M1 $noreg, $noreg, 0, -1, 6 /* e64 */, 0 /* tu, mu */
; CHECK-NEXT: %y:vr = PseudoVFREDMAX_VS_M1_E32 $noreg, %x, %x, 1, 5 /* e32 */, 0 /* tu, mu */
- %x:vr = nofpexcept PseudoVFCVT_X_F_V_M1 $noreg, $noreg, 0, -1, 3 /* e8 */, 0
+ %x:vr = nofpexcept PseudoVFCVT_X_F_V_M1 $noreg, $noreg, 0, -1, 6 /* e64 */, 0
%y:vr = PseudoVFREDMAX_VS_M1_E32 $noreg, %x, %x, 1, 5 /* e32 */, 0
...
---
``````````
</details>
https://github.com/llvm/llvm-project/pull/122327
More information about the llvm-commits
mailing list