================
@@ -153,7 +153,13 @@ class AMDGPUInformationCache : public InformationCache {
                          BumpPtrAllocator &Allocator,
                          SetVector<Function *> *CGSCC, TargetMachine &TM)
       : InformationCache(M, AG, Allocator, CGSCC), TM(TM),
-        CodeObjectVersion(AMDGPU::getAMDHSACodeObjectVersion(M)) {}
+        CodeObjectVersion(AMDGPU::getAMDHSACodeObjectVersion(M)),
+        HasApertureRegs(
+            AMDGPU::hasApertureRegs(M.getTargetTriple().getSubArch())),
+        SupportsGetDoorbellID(
+            AMDGPU::supportsGetDoorbellID(M.getTargetTriple().getSubArch())),
+        ArchAttr(AMDGPU::getArchAttrAMDGCN(
----------------
arsenm wrote:

Missed optimization 

https://github.com/llvm/llvm-project/pull/212207
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to