HomePhabricator

[DAGCombiner] widen any_ext of popcount based on target support

Authored by spatel on Oct 28 2019, 7:04 AM.

Description

[DAGCombiner] widen any_ext of popcount based on target support

This enhances D69127 (rGe6c145e0548e3b3de6eab27e44e1504387cf6b53)
to handle the looser "any_extend" cast in addition to zext.

This is a prerequisite step for canonicalizing in the other direction
(narrow the popcount) in IR - PR43688:
https://bugs.llvm.org/show_bug.cgi?id=43688

Details

Committed
spatelOct 28 2019, 7:07 AM
Parents
rG35cb3ee4ca47: [AArch64][Builtins] Avoid unnecessary cache cleaning
Branches
Unknown
Tags
Unknown