projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0152c
)
[AMDGPU] Initialize a couple more Subtarget fields
author
Jay Foad
<jay.foad@amd.com>
Wed, 13 Apr 2022 15:24:31 +0000
(16:24 +0100)
committer
Jay 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
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
index
633c199
..
7b4e445
100644
(file)
--- a/
llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/
llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@
-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;