[llvm-bugs] [Bug 36950] New: Missing canonicalization of select of bitchecks into icmp
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 29 11:02:08 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=36950
Bug ID: 36950
Summary: Missing canonicalization of select of bitchecks into
icmp
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: lebedev.ri at gmail.com
CC: llvm-bugs at lists.llvm.org
Copied from https://bugs.llvm.org/show_bug.cgi?id=17564
There is a missing instcombine to get rid of select
https://rise4fun.com/Alive/gEy
After which the assembly is much better:
https://godbolt.org/g/iAYRup
The only difference after that is in "and edi, 3" vs. "test dil, 3"
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180329/ad8ddd62/attachment.html>
More information about the llvm-bugs
mailing list