HomePhabricator

[GISel]: Add GISelKnownBits analysis

Authored by aditya_nandakumar on Aug 6 2019, 10:18 AM.

Description

[GISel]: Add GISelKnownBits analysis

https://reviews.llvm.org/D65698

This adds a KnownBits analysis pass for GISel. This was done as a
pass (compared to static functions) so that we can add other features
such as caching queries(within a pass and across passes) in the future.
This patch only adds the basic pass boiler plate, and implements a lazy
non caching knownbits implementation (ported from SelectionDAG). I've
also hooked up the AArch64PreLegalizerCombiner pass to use this - there
should be no compile time regression as the analysis is lazy.

llvm-svn: 368065

Details

Committed
aditya_nandakumarAug 6 2019, 10:18 AM
Parents
rG3a4d5ed232dc: [modulemap] exclude a non-module friendly header
Branches
Unknown
Tags
Unknown