[PATCH] D52060: AMDGPU: Add a fast path for icmp.i1(src, false, NE)
Marek Olšák via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 20 15:18:05 PST 2018
mareko added inline comments.
================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:3656-3658
+ // Don't do anything for i1 comparisons.
+ if (Width == 1)
+ break;
----------------
arsenm wrote:
> Needs test in InstCombine
What should the test do?
Repository:
rL LLVM
https://reviews.llvm.org/D52060
More information about the llvm-commits
mailing list