[PATCH] D129735: [RISCV] Add new pass to transform undef to pseudo for vector values.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 7 10:28:20 PDT 2023


craig.topper added a comment.

In D129735#4640476 <https://reviews.llvm.org/D129735#4640476>, @garthlei wrote:

> F29125540: 1.ll <https://reviews.llvm.org/F29125540>
>
> Illegal instructions "vslideup.vi v8, v8, 5" and "vslideup.vi v8, v8, 2" are generated.

Looks like the undef operand is not the passthru operand in this case. It's the value to slide. This pass only fixed the case where the passthru was undef. Can you file a new issue?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129735



More information about the llvm-commits mailing list