[llvm-bugs] [Bug 41874] New: [DAGCombine] Combine constant and+shift --> shift+shift
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue May 14 08:07:32 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41874
Bug ID: 41874
Summary: [DAGCombine] Combine constant and+shift -->
shift+shift
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: llvm-dev at redking.me.uk
CC: lebedev.ri at gmail.com, llvm-bugs at lists.llvm.org,
spatel+llvm at rotateright.com
As suggested on D61830:
> Also, do we want to unfold and (shift x, c1), c2 / shift (and x, c1), c2 ?
> Not sure, under !TLI.shouldFoldConstantShiftPairToMask() or a new shouldFoldMaskToConstantShiftPair().
--
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/20190514/7c81892b/attachment.html>
More information about the llvm-bugs
mailing list