[PATCH] D126745: [RISCV][Clang] Support policy functions for vmerge, vfmerge and vcompress.

Zakk Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 1 11:35:51 PDT 2022


khchen added a comment.

In D126745#3691544 <https://reviews.llvm.org/D126745#3691544>, @craig.topper wrote:

> In D126745#3691528 <https://reviews.llvm.org/D126745#3691528>, @khchen wrote:
>
>> In D126745#3678776 <https://reviews.llvm.org/D126745#3678776>, @nlopes wrote:
>>
>>> While at it, could you switch those UndefValue with PoisonValue if possible?  Thank you!
>>
>> I'm not sure UndefValue will work because the backend would only check isUndef() to generate correct code...
>
> PoisonValue and UndefValue are both turned into undef in SelectionDAG today.

thanks @craig.topper, I will switch UndefValue with PoisonValue.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126745



More information about the cfe-commits mailing list