HomePhabricator

[SelectionDAG] Enable CTPOP optimization fine tuning

Authored by davezarzycki on Oct 28 2020, 4:18 AM.

Description

[SelectionDAG] Enable CTPOP optimization fine tuning

Add a TLI hook to allow SelectionDAG to fine tune the conversion of CTPOP to a chain of "x & (x - 1)" when CTPOP isn't legal.

A subsequent patch will attempt to fine tune the X86 code gen.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D89952

Details

Committed
davezarzyckiNov 9 2020, 10:49 AM
Reviewer
spatel
Differential Revision
D89952: [SelectionDAG] Enable CTPOP optimization fine tuning
Parents
rG1bbf87e22a73: [clangd][remote] Check an index file correctly
Branches
Unknown
Tags
Unknown