[llvm-commits] [llvm] r153423 - in /llvm/trunk: lib/Analysis/InstructionSimplify.cpp lib/Analysis/ValueTracking.cpp test/Transforms/InstSimplify/pr12251.ll

Chandler Carruth chandlerc at gmail.com
Sun Mar 25 19:31:46 PDT 2012


I've not been following all of the range metadata stuff, but I keep getting
confused by the icmp showing up instead of the and:

On Sun, Mar 25, 2012 at 6:44 PM, Rafael Espindola <
rafael.espindola at gmail.com> wrote:

> +; CHECK-NEXT: %tobool = icmp ne i8 %a, 0


Why can't this just be trunc? We know that we have an i8 which contains
either '0' or '1'... Am I missing something?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120325/d72ca35c/attachment.html>


More information about the llvm-commits mailing list