Overriders may want to modify state in it. AMDGPU wants
to, but has to make its members mutable in order to do so.
Besides, EmitBasicBlockEnd is not const, so why should
Start be?
Paths
| Differential D66341
[AsmPrinter] Remove const qualifier from EmitBasicBlockStart. ClosedPublic Authored by ebevhan on Aug 16 2019, 5:09 AM.
Details Summary Overriders may want to modify state in it. AMDGPU wants Besides, EmitBasicBlockEnd is not const, so why should
Diff Detail Event TimelineThis revision is now accepted and ready to land.Aug 16 2019, 1:01 PM Closed by commit rL369325: [AsmPrinter] Remove const qualifier from EmitBasicBlockStart. (authored by karka). · Explain WhyAug 19 2019, 10:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 215565 include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/NVPTX/NVPTXAsmPrinter.h
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
|