[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 Oct 29 18:30:50 PDT 2018


arsenm added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:3656-3658
+        // Don't do anything for i1 comparisons.
+        if (Width == 1)
+          break;
----------------
Needs test in InstCombine


Repository:
  rL LLVM

https://reviews.llvm.org/D52060





More information about the llvm-commits mailing list