2025 US LLVM Developers Meeting: Impossible Perspectives in Data Layout @LLVMPROJ
2025 US LLVM Developers Meeting: Impossible Perspectives in Data Layout  @LLVMPROJ
Uploaded November 2025 | Updated November 2026, 1 week ago
2025 US LLVM Developers' Meeting

llvm.org/devmtg/2025-10

------

Title: Impossible Perspectives in Data Layout

Speaker: Justin Bogner

------

Slides: llvm.org/devmtg/2025-10/slides/quick_talks/bogner.pdf

-----

In this talk, we'll discuss the challenges we faced representing constructs in HLSL that are somewhat odd compared to the usual rules of C and C++, and consider the tradeoffs of various approaches along the way. There are several contexts where HLSL doesn't match C++ in terms of layout. "CBuffers" have rules that grew out of the history of shading languages, DirectX APIs, and weird GPU hardware that result in odd alignment and padding requirements, especially for arrays. The packoffset feature of CBuffers and the vk::offset attribute which can inject arbitrary amounts of padding into a structure. Small vector types are aligned based on their element type instead of their total size. All of these need some care in how they're handled throughout the compiler. This talk will discuss the implementation, present lessons learned, and consider where these techniques are useful in other contexts.

-----

Videos Edited by Bash Films: BashFilms.com
2025 US LLVM Developers Meeting: Impossible Perspectives in Data Layout2026 EuroLLVM - CppInterOp: Interactive C++ as a Service and Advanced Language Interoperability2025 US LLVM Developers Meeting: Optimizing Flangs optimizer2025 US LLVM Developers Meeting: Climbing the ladder of complete: LLVM-libc past and future2025 EuroLLVM - Optimizing FDTD Solvers for Electromagnetics Using MLIR Across Multiple Hardware2025 US LLVM Developers Meeting: From proprietary to fully open-source: Arm Toolchains adoption2025 EuroLLVM - llvmlite: A python gym for LLVM2025 EuroLLVM - Instruction Cache Prefetching2025 EuroLLVM - Enhancing Tile & Fuse Transformation in MLIR with a Planning Interface2025 US LLVM Developers Meeting: BOLT tutorial on AArch64 and how it competes or complements PGOs2026 EuroLLVM - Adding Nullability Checking and Annotations to Many Millions of Lines of Code2026 EuroLLVM - What Compiler Implementers and Language Designers Need to Know About Pointer Auth...
LLVM |

2025 US LLVM Developers' Meeting: Impossible Perspectives in Data Layout

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER