This way the function symbol points to the start of amd_kernel_code_t
rather than the start of the function.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
119 | Is this alignment not required anymore? |
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp | ||
---|---|---|
119 | Alignment for the function is emitted in EmitFunctionHeader(). We don't need to re-emit it after the AMDKernelCodeT object, because the object is 256 bytes (which is the same as the alignment), so the start of the function, is already aligned properly. |
Is this alignment not required anymore?