[AMDGPU] Initialize a couple more Subtarget fields
authorJay Foad <jay.foad@amd.com>
Wed, 13 Apr 2022 15:24:31 +0000 (16:24 +0100)
committerJay Foad <jay.foad@amd.com>
Wed, 13 Apr 2022 15:36:10 +0000 (16:36 +0100)
This is just for consistency. The fields are never actually used
so it is NFC.

llvm/lib/Target/AMDGPU/GCNSubtarget.h

index 633c199..7b4e445 100644 (file)
@@ -96,8 +96,8 @@ protected:
 
   // Subtarget statically properties set by tablegen
   bool FP64 = false;
-  bool FMA;
-  bool MIMG_R128;
+  bool FMA = false;
+  bool MIMG_R128 = false;
   bool CIInsts = false;
   bool GFX8Insts = false;
   bool GFX9Insts = false;