================
@@ -288,6 +298,8 @@ RValue 
CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(
       return MakeAddrLValue(ThisValue, Base->getType()->getPointeeType(),
                             BaseInfo, TBAAInfo);
     }
+    if (isa<HLSLOutArgExpr>(Base))
+      return HLSLThisLValue;
----------------
hekota wrote:

```suggestion
    if (HLSLThisLValue)
      return *HLSLThisLValue;
```

https://github.com/llvm/llvm-project/pull/229939
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to