[llvm] r368248 - [GISel][NFC]: Make members of CombinerHelper accessible in derived classes
Aditya Nandakumar via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 19:24:57 PDT 2019
Author: aditya_nandakumar
Date: Wed Aug 7 19:24:57 2019
New Revision: 368248
URL: http://llvm.org/viewvc/llvm-project?rev=368248&view=rev
Log:
[GISel][NFC]: Make members of CombinerHelper accessible in derived classes
https://reviews.llvm.org/D65842
Make some members protected to enable access in derived classes.
Modified:
llvm/trunk/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/CombinerHelper.h?rev=368248&r1=368247&r2=368248&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/CombinerHelper.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/CombinerHelper.h Wed Aug 7 19:24:57 2019
@@ -36,6 +36,7 @@ struct PreferredTuple {
};
class CombinerHelper {
+protected:
MachineIRBuilder &Builder;
MachineRegisterInfo &MRI;
GISelChangeObserver &Observer;
More information about the llvm-commits
mailing list