[PATCH] D100687: [Hexagon] Use 'not' instead of 'vnot' in patterns with vectors.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 15:52:18 PDT 2021


craig.topper added a comment.

In D100687#2702722 <https://reviews.llvm.org/D100687#2702722>, @kparzysz wrote:

> I'd have to take a closer look at this.  You're right that these patterns won't match in this form, but the fixes may need to be different.  The standard treatment of boolean vectors as somewhat equivalent to n-bit integers or having immediate value doesn't work well with Hexagon, so we have nodes like `HexagonPTRUE` or `HexagonQTRUE` (and the corresponding falses).
>
> Thanks for doing this, btw!

I'm happy to let you take this over. I did the best I knew how.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100687



More information about the llvm-commits mailing list