[PATCH] D52060: AMDGPU: Add a fast path for icmp.i1(src, false, NE)

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 24 07:21:37 PDT 2018


arsenm added a comment.

In https://reviews.llvm.org/D52060#1241470, @mareko wrote:

> In https://reviews.llvm.org/D52060#1234370, @arsenm wrote:
>
> > Should the instcombine part change also to allow creation of i1 uses?
>
>
> What do you mean by that? I'm not sure what you mean.


In InstCombineCalls we whitelist bitwidth sizes that are legal, so if the input compare is an i1 compare, it will fold into the intrinsic


Repository:
  rL LLVM

https://reviews.llvm.org/D52060





More information about the llvm-commits mailing list