================
@@ -343,6 +346,17 @@ struct AMDGPUPromoteAllocaPass
   TargetMachine &TM;
 };
 
+/// Only allocates objects in the VGPR ("as memory") address space, which is
+/// required for functionality; used in place of AMDGPUPromoteAllocaPass when
+/// optimizations are disabled.
+struct AMDGPUVGPRAllocatePass : OptionalPassInfoMixin<AMDGPUVGPRAllocatePass> {
+  AMDGPUVGPRAllocatePass(TargetMachine &TM) : TM(TM) {}
----------------
arsenm wrote:

```suggestion
  AMDGPUVGPRAllocatePass(GCNTargetMachine &TM) : TM(TM) {}
```

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

Reply via email to