[clang] [llvm] Adding splitdouble HLSL function (PR #109331)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 26 17:07:19 PDT 2024


================
@@ -5460,9 +5460,8 @@ LValue CodeGenFunction::EmitOpaqueValueLValue(const OpaqueValueExpr *e) {
   return getOrCreateOpaqueLValueMapping(e);
 }
 
-void CodeGenFunction::EmitHLSLOutArgExpr(const HLSLOutArgExpr *E,
-                                         CallArgList &Args, QualType Ty) {
-
+std::pair<LValue, LValue>
+CodeGenFunction::EmitHLSLOutArgLValues(const HLSLOutArgExpr *E, QualType Ty) {
----------------
bogner wrote:

Is `EmitHLSLOutArgLValues` used any other than in `CodeGenFunction::EmitHLSLOutArgExpr` at this point? I think we can avoid splitting this method in two.

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


More information about the cfe-commits mailing list