[clang] [llvm] [HLSL] Implement Texture2DArray for HLSL (PR #203951)

Tim Corringham via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 02:36:01 PDT 2026


================
@@ -676,11 +676,11 @@ class OpLowerer {
       Type *OldTy = CI->getType();
       Type *NewRetTy = OpBuilder.getResRetType(OldTy->getScalarType());
 
-      Value *UndefF = UndefValue::get(IRB.getFloatTy());
-      Value *UndefI = UndefValue::get(IRB.getInt32Ty());
+      Value *PoisonF = PoisonValue::get(IRB.getFloatTy());
+      Value *PoisonI = PoisonValue::get(IRB.getInt32Ty());
----------------
tcorringham wrote:

Done.

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


More information about the cfe-commits mailing list