[PATCH] D54301: [AMDGPU] Derive GCNSubtarget from MF to get overridden target features
David Stuttard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 19 07:47:12 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL347221: [AMDGPU] Derive GCNSubtarget from MF to get overridden target features (authored by dstuttard, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D54301
Files:
llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
Index: llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
===================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
@@ -911,9 +911,9 @@
}
ProgInfo.SGPRBlocks = IsaInfo::getNumSGPRBlocks(
- getSTI(), ProgInfo.NumSGPRsForWavesPerEU);
+ &STM, ProgInfo.NumSGPRsForWavesPerEU);
ProgInfo.VGPRBlocks = IsaInfo::getNumVGPRBlocks(
- getSTI(), ProgInfo.NumVGPRsForWavesPerEU);
+ &STM, ProgInfo.NumVGPRsForWavesPerEU);
// Update DebuggerWavefrontPrivateSegmentOffsetSGPR and
// DebuggerPrivateSegmentBufferSGPR fields if "amdgpu-debugger-emit-prologue"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54301.174618.patch
Type: text/x-patch
Size: 698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181119/a515fc61/attachment.bin>
More information about the llvm-commits
mailing list