[PATCH] D70234: AMDGPU: Change boolean content type to 0 or 1

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 11:39:40 PST 2019


rampitec added a comment.

What about patterns like these:

  def : GCNPat <
    (i1 (add i1:$src0, (i1 -1))),
    (S_NOT_B64 $src0)
  >;
  
  def : GCNPat <
    (i1 (sub i1:$src0, (i1 -1))),
    (S_NOT_B64 $src0)
  >;

will -1 still be generated or will we get 1's now and miss these patterns?


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

https://reviews.llvm.org/D70234





More information about the llvm-commits mailing list