[globalisel] Support trivial COPY in GISelKnownBits
authorDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 4 Sep 2019 18:59:43 +0000 (18:59 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 4 Sep 2019 18:59:43 +0000 (18:59 +0000)
commitb276a9a51e42bc260ff6616112a074d135c5426e
treee6917aef05f8051638cebca0fa6fff19e430e9c7
parent6eef8e01c7654acf417d3ad81fb6cb5cfc6edc2f
[globalisel] Support trivial COPY in GISelKnownBits

Summary: Allow GISelKnownBits to look through the trivial case of TargetOpcode::COPY

Reviewers: aditya_nandakumar

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

Tags: #llvm

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

llvm-svn: 370955
llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
llvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp