[clang] Implement `ByteAddressBuffer` Load/Store methods (PR #176058)

Sarah Spall via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 15 14:27:06 PST 2026


================
@@ -432,6 +432,9 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned BuiltinID,
 
     if (RT->getAttrs().RawBuffer) {
       Value *Offset = Builder.getInt32(0);
+      // Offset is poison for ByteAddressBuffer
----------------
spall wrote:

Can you explain to me what this means? 

https://github.com/llvm/llvm-project/pull/176058


More information about the cfe-commits mailing list