[PATCH] D144951: [IR] Clarify that expect intrinsics may take vector types

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 03:35:32 PST 2023


frasercrmck added a comment.

In D144951#4157914 <https://reviews.llvm.org/D144951#4157914>, @nikic wrote:

> I doubt that this was an intended feature -- just a side effect of how the intrinsic type constraints work. They always assume vectors are allowed for llvm_anyint_ty.

Yeah, I suspect so too. I think there are legitimate uses of the vector forms, though; better vectorization is one of them. Conceptually I don't see a problem with vector forms, either.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144951



More information about the llvm-commits mailing list