]> granicus.if.org Git - llvm/commit
[globalisel][knownbits] Allow targets to call GISelKnownBits::computeKnownBitsImpl()
authorDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 30 Sep 2019 20:55:53 +0000 (20:55 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 30 Sep 2019 20:55:53 +0000 (20:55 +0000)
commit60b311224d0cc06d05d0380c8becb275fa7f16d0
treeb28f4a252c3ed45aef654fc7c8c2343992781a19
parentf47f0208a138c0a3576b2f3afa0a9841e61840ae
[globalisel][knownbits] Allow targets to call GISelKnownBits::computeKnownBitsImpl()

Summary:
It seems we missed that the target hook can't query the known-bits for the
inputs to a target instruction. Fix that oversight

Reviewers: aditya_nandakumar

Subscribers: rovka, hiraditya, volkan, Petar.Avramovic, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373264 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp