[PATCH] D148518: [RISCV] Add tests for illegal fixed length vectors that need widened

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 03:31:27 PDT 2023


luke added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll:215
+
+; FIXME: This gets expanded instead of widened + promoted
+define <3 x float> @si2fp_v3i7_v3f32(<3 x i7> %x) {
----------------
craig.topper wrote:
> Just the argument is getting expanded I think? There's a longstanding issue with handling of really odd arguments/returns like this. I think the relevant code is in TargetLoweringBase::getVectorTypeBreakdown
Whoops, this FIXME was supposed to be a part of D148523. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148518/new/

https://reviews.llvm.org/D148518



More information about the llvm-commits mailing list