GlobalISel: Directly expose getDefSrcRegIgnoringCopies utility
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 11 Nov 2020 15:24:23 +0000 (10:24 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 13 Nov 2020 16:07:04 +0000 (11:07 -0500)
commitc67e1a985f4d7a68b607a8bd0db74a4fc39d5596
tree52b6ede6ed62eeb6dc266e0b81e08434b3de7058
parent8741a76f5dd11ba65fadfd3182da4d365ac15352
GlobalISel: Directly expose getDefSrcRegIgnoringCopies utility

It's useful to get both the instruction and register at the same time.
llvm/include/llvm/CodeGen/GlobalISel/Utils.h
llvm/lib/CodeGen/GlobalISel/Utils.cpp